Added "$" back into aws_iam_policy_attachment example.

This commit is contained in:
bisoldi 2017-03-28 12:30:52 -04:00 committed by Martin Atkins
parent af2c84de5a
commit 744f8988c6
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ resource "aws_iam_policy" "policy" {
resource "aws_iam_policy_attachment" "test-attach" {
name = "test-attachment"
users = ["{aws_iam_user.user.name}"]
roles = ["{aws_iam_role.role.name}"]
groups = ["{aws_iam_group.group.name}"]
users = ["${aws_iam_user.user.name}"]
roles = ["${aws_iam_role.role.name}"]
groups = ["${aws_iam_group.group.name}"]
policy_arn = "${aws_iam_policy.policy.arn}"
}
```