Added "$" back into aws_iam_policy_attachment example.
This commit is contained in:
parent
af2c84de5a
commit
744f8988c6
|
@ -33,9 +33,9 @@ resource "aws_iam_policy" "policy" {
|
||||||
|
|
||||||
resource "aws_iam_policy_attachment" "test-attach" {
|
resource "aws_iam_policy_attachment" "test-attach" {
|
||||||
name = "test-attachment"
|
name = "test-attachment"
|
||||||
users = ["{aws_iam_user.user.name}"]
|
users = ["${aws_iam_user.user.name}"]
|
||||||
roles = ["{aws_iam_role.role.name}"]
|
roles = ["${aws_iam_role.role.name}"]
|
||||||
groups = ["{aws_iam_group.group.name}"]
|
groups = ["${aws_iam_group.group.name}"]
|
||||||
policy_arn = "${aws_iam_policy.policy.arn}"
|
policy_arn = "${aws_iam_policy.policy.arn}"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue