github.com/jmbataller/terraform@v0.6.8-0.20151125192640-b7a12e3a580c/website/source/docs/providers/aws/r/placement_group.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_placement_group" 4 sidebar_current: "docs-aws-resource-placement-group" 5 description: |- 6 Provides an EC2 placement group. 7 --- 8 9 # aws\_placement\_group 10 11 Provides an EC2 placement group. Read more about placement groups 12 in [AWS Docs](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html). 13 14 ## Example Usage 15 16 ``` 17 resource "aws_placement_group" "web" { 18 name = "hunky-dory-pg" 19 strategy = "cluster" 20 } 21 ``` 22 23 ## Argument Reference 24 25 The following arguments are supported: 26 27 * `name` - (Required) The name of the placement group. 28 * `strategy` - (Required) The placement strategy. The only supported value is `cluster` 29 30 ## Attributes Reference 31 32 The following attributes are exported: 33 34 * `id` - The name of the placement group.