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 78f76b9
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
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.
6 changes: 5 additions & 1 deletion website/source/layouts/aws.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</li>


<li<%= sidebar_current(/^docs-aws-resource-(app|autoscaling|ebs|elb|eip|instance|launch|lb|proxy|spot|volume)/) %>>
<li<%= sidebar_current(/^docs-aws-resource-(app|autoscaling|ebs|elb|eip|instance|launch|lb|proxy|spot|volume|placement)/) %>>
<a href="#">EC2 Resources</a>
<ul class="nav nav-visible">

Expand Down 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 78f76b9

Please sign in to comment.