docs/aws: Fix example of aws_iam_role_policy
This commit is contained in:
parent
c870f45ba6
commit
57c2c90e20
|
@ -18,13 +18,14 @@ resource "aws_iam_role_policy" "test_policy" {
|
||||||
role = "${aws_iam_role.test_role.id}"
|
role = "${aws_iam_role.test_role.id}"
|
||||||
policy = <<EOF
|
policy = <<EOF
|
||||||
{
|
{
|
||||||
"Version": "2008-10-17",
|
"Version": "2012-10-17",
|
||||||
"Statement": [
|
"Statement": [
|
||||||
{
|
{
|
||||||
"Action": "sts:AssumeRole",
|
"Action": [
|
||||||
"Principal": {"AWS": "*"},
|
"ec2:Describe*"
|
||||||
|
],
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Sid": ""
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue