Skip to content

Commit

Permalink
provider/aws: Add docs for aws_placement_group
Browse files Browse the repository at this point in the history
  • Loading branch information
Radek Simko committed Oct 8, 2015
1 parent f30c647 commit b23e545
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
34 changes: 34 additions & 0 deletions website/source/docs/providers/aws/r/placement_group.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: "aws"
page_title: "AWS: aws_placement_group"
sidebar_current: "docs-aws-resource-placement-group"
description: |-
Provides an EC2 placement group.
---

# aws\_placement\_group

Provides an EC2 placement group. Read more about placement groups
in [AWS Docs](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html).

## 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 is `cluster`

## Attributes Reference

The following attributes are exported:

* `id` - The name of the placement group.
4 changes: 4 additions & 0 deletions website/source/layouts/aws.erb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@
<a href="/docs/providers/aws/r/lb_cookie_stickiness_policy.html">aws_lb_cookie_stickiness_policy</a>
</li>

<li<%= sidebar_current("docs-aws-resource-placement-group") %>>
<a href="/docs/providers/aws/r/placement_group.html">aws_placement_group</a>
</li>

<li<%= sidebar_current("docs-aws-resource-proxy-protocol-policy") %>>
<a href="/docs/providers/aws/r/proxy_protocol_policy.html">aws_proxy_protocol_policy</a>
</li>
Expand Down

0 comments on commit b23e545

Please sign in to comment.