FEATURES PRICING ABOUT DOCS LOGIN

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:

Attributes Reference

The following attributes are exported:

Import

Placement groups can be imported using the name, e.g.

$ terraform import aws_placement_group.prod_pg production-placement-group

See the source of this document at Terraform.io

REQUEST A DEMO