mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-02 18:00:18 -05:00
use us-west-2 region in tests update test with working config provider/aws: Update EMR contribution with passing test, polling for instance in DELETE method remove defaulted role document emr_cluster rename aws_emr -> aws_emr_cluster update docs for name change update delete timeout/polling rename emr taskgroup to emr instance group default instance group count to 0, down from 60 update to ref emr_cluster, emr_instance_group more cleanups for instance groups; need to read and update add read, delete method for instance groups refactor the read method to seperate out the fetching of the specific group more refactoring for finding instance groups update emr instance group docs err check on reading HTTP. Dont' return the error, just log it refactor the create method to catch optionals additional cleanups, added a read method update test to be non-master-only wrap up the READ method for clusters poll for instance group to be running after a modification patch up a possible deref provider/aws: EMR cleanups fix test naming remove outdated docs randomize emr_profile names
1.8 KiB
1.8 KiB
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| aws | AWS: aws_emr_instance_group | docs-aws-resource-emr-instance-group | Provides an Elastic MapReduce Cluster Instance Group |
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