781 B
781 B
layout | page_title | sidebar_current | description |
---|---|---|---|
aws | AWS: aws_placement_group | docs-aws-resource-placement-group | Provides an EC2 placement group. |
aws_placement_group
Provides an EC2 placement group. Read more about placement groups in AWS Docs.
Example Usage
resource "aws_placement_group" "web" {
name = "hunky-dory-pg"
strategy = "cluster"
}
Argument Reference
The following arguments are supported:
name
- (Required) The name of the placement group.strategy
- (Required) The placement strategy. The only supported value iscluster
Attributes Reference
The following attributes are exported:
id
- The name of the placement group.