aws_emr_instance_group
Provides an Elastic MapReduce Cluster Instance Group configuration. See Amazon Elastic MapReduce Documentation for more information.
~> NOTE: At this time, Instance Groups cannot be destroyed through the API nor web interface. Instance Groups are destroyed when the EMR Cluster is destroyed. Terraform will resize any Instance Group to zero when destroying the resource.
Example Usage
resource "aws_emr_cluster_instance_group" "task" {
cluster_id = "${aws_emr_cluster.tf-test-cluster.id}"
instance_count = 1
instance_type = "m3.xlarge"
name = "my little instance group"
}
Argument Reference
The following arguments are supported:
name
- (Optional) Optional human friendly name for this Instance Groupcluster_id
- (Required) ID of the EMR Cluster to attach toinstance_type
- (Required) Type of instances for this Groupinstance_count
- (Optional) Count of instances to launch
ec2_attributes
Attributes for the Instance Group
name
- Human friendly name for this Instance Groupcluster_id
- ID of the EMR Cluster the group is attached toinstance_type
- Type of instances for this Groupinstance_count
- Count of desired instances to launchrunning_instance_count
- Count of actual running instances in the groupstatus
- State of the instance group. One ofPROVISIONING
,BOOTSTRAPPING
,RUNNING
,RESIZING
,SUSPENDED
,TERMINATING
,TERMINATED
,ARRESTED
,SHUTTING_DOWN
,ENDED
See the source of this document at Terraform.io