github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/aws/r/emr_instance_group.html.md (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_emr_instance_group"
     4  sidebar_current: "docs-aws-resource-emr-instance-group"
     5  description: |-
     6    Provides an Elastic MapReduce Cluster Instance Group
     7  ---
     8  
     9  # aws\_emr\_instance\_group
    10  
    11  Provides an Elastic MapReduce Cluster Instance Group configuration. 
    12  See [Amazon Elastic MapReduce Documentation](http://docs.aws.amazon.com/en_en/ElasticMapReduce/latest/ManagementGuide/InstanceGroups.html) 
    13  for more information. 
    14  
    15  ~> **NOTE:** At this time, Instance Groups cannot be destroyed through the API nor
    16  web interface. Instance Groups are destroyed when the EMR Cluster is destroyed.
    17  Terraform will resize any Instance Group to zero when destroying the resource.
    18  
    19  ## Example Usage
    20  
    21  ```
    22  resource "aws_emr_cluster_instance_group" "task" {
    23    cluster_id     = "${aws_emr_cluster.tf-test-cluster.id}"
    24    instance_count = 1
    25    instance_type  = "m3.xlarge"
    26    name           = "my little instance group"
    27  }
    28  ```
    29  
    30  ## Argument Reference
    31  
    32  The following arguments are supported:
    33  
    34  * `name` - (Optional) Optional human friendly name for this Instance Group
    35  * `cluster_id` - (Required) ID of the EMR Cluster to attach to
    36  * `instance_type` - (Required) Type of instances for this Group
    37  * `instance_count` - (Optional) Count of instances to launch
    38  
    39  
    40  
    41  ## ec2\_attributes
    42  
    43  Attributes for the Instance Group
    44  
    45  * `name` - Human friendly name for this Instance Group
    46  * `cluster_id` - ID of the EMR Cluster the group is attached to
    47  * `instance_type` - Type of instances for this Group
    48  * `instance_count` - Count of desired instances to launch
    49  * `running_instance_count` - Count of actual running instances in the group
    50  * `status` - State of the instance group. One of `PROVISIONING`, `BOOTSTRAPPING`, `RUNNING`, `RESIZING`, `SUSPENDED`, `TERMINATING`, `TERMINATED`, `ARRESTED`, `SHUTTING_DOWN`, `ENDED`