emr-cluster

cloudposse/emr-cluster/aws

Terraform Module HCL AWS

Terraform module to provision an Elastic MapReduce (EMR) cluster on AWS

Install
module "emr-cluster" {
source = "cloudposse/emr-cluster/aws"
version = "1.2.0"
}
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-emr-cluster ![Latest Release](https://github.com/cloudposse/terraform-aws-emr-cluster/releases/latest) ![Slack Community](https://slack.cloudposse.com) [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform module to provision an Elastic MapReduce (EMR) cluster on AWS. --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][share_linkedin] [ ][share_twitter] ![Terraform Open Source Modules][terraform_modules] It's 100% Open Source and licensed under the APACHE2. We literally have [hundreds of terraform modules][terraform_modules] that are Open Source and well-maintained. Check them out! Security & Compliance S

Inputs (50)
NameTypeDescriptionDefault
regionstringAWS region required
master_instance_group_ebs_sizenumberMaster instances volume size, in gibibytes (GiB) required
subnet_idstringVPC subnet ID where you want the job flow to launch. Cannot specify the `cc1.4xl required
core_instance_group_ebs_sizenumberCore instances volume size, in gibibytes (GiB) required
master_instance_group_instance_typestringEC2 instance type for all instances in the Master instance group required
label_orderlist(string)The order in which the labels (ID elements) appear in the `id`. Defaults to ["nanull
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length.null
ec2_role_enabledboolIf set to `false`, will use `existing_ec2_instance_profile_arn` for an existing true
subnet_typestringType of VPC subnet ID where you want the job flow to launch. Supported values ar"private"
core_instance_group_bid_pricestringBid price for each EC2 instance in the Core instance group, expressed in USD. Bynull
regex_replace_charsstringTerraform regular expression (regex) string. Characters matching the regex will null
use_existing_additional_master_security_groupboolIf set to `true`, will use variable `additional_master_security_group` using an false
use_existing_additional_slave_security_groupboolIf set to `true`, will use variable `additional_slave_security_group` using an efalse
keep_job_flow_alive_when_no_stepsboolSwitch on/off run cluster with no steps or when all steps are completetrue
core_instance_group_instance_countnumberTarget number of instances for the Core instance group. Must be at least 11
master_instance_group_instance_countnumberTarget number of instances for the Master instance group. Must be at least 11
core_instance_group_ebs_typestringCore instances volume type. Valid options are `gp2`, `io1`, `standard` and `st1`"gp2"
master_instance_group_ebs_iopsnumberThe number of I/O operations per second (IOPS) that the Master volume supportsnull
task_instance_group_instance_typestringEC2 instance type for all instances in the Task instance groupnull
task_instance_group_ebs_iopsnumberThe number of I/O operations per second (IOPS) that the Task volume supportsnull
kerberos_kdc_admin_passwordstringThe password used within the cluster for the kadmin service on the cluster-dedicnull
namespacestringID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp'null
kerberos_cross_realm_trust_principal_passwordstringRequired only when establishing a cross-realm trust with a KDC in a different renull
task_instance_group_ebs_volumes_per_instancenumberThe number of EBS volumes with this configuration to attach to each EC2 instance1
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
… and 10 more inputs
Outputs (7)
ec2_role — Role name of EMR EC2 instances so users can attach more policies
cluster_id — EMR cluster ID
cluster_name — EMR cluster name
master_public_dns — Master public DNS
master_security_group_id — Master security group ID
slave_security_group_id — Slave security group ID
master_host — Name of the cluster CNAME record for the master nodes in the parent DNS zone
Resources (8)
aws_emr_clusteraws_emr_instance_groupaws_iam_instance_profileaws_iam_roleaws_iam_role_policy_attachmentaws_security_groupaws_security_group_ruleaws_vpc_endpoint
Details
FrameworkTerraform Module
LanguageHCL
Version1.2.0
Cloud AWS
★ Stars74
Forks84
Total downloads127.4k
Inputs50
Outputs7
Resources8
Examples1
LicenseApache-2.0
Namespacecloudposse
Updated