Skip to content

Commit

Permalink
Update documentation to mirror new interface of aws_iot_policy_attach…
Browse files Browse the repository at this point in the history
…ment
  • Loading branch information
jhedev committed Oct 7, 2016
1 parent 93813ac commit 3493901
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ description: |-
```
resource "aws_iot_policy_attachment" "cert_policies" {
name = "cert_policies"
principal = "${aws_iot_certificate.cert.arn}"
policies = ["${aws_iot_policy.pubsub.name}"]
principals = ["${aws_iot_certificate.cert.arn}"]
policy = "${aws_iot_policy.pubsub.name}"
}
```

## Argument Reference

* `name` - A name for the policy attachment
* `principal` - The principal of the attachment
* `policies` - List of policies to attach to the principal
* `principals` - List of principals of the attachment
* `policy` - Policy to attach to the principals

## Attributes Reference

0 comments on commit 3493901

Please sign in to comment.