docs/aws: Fix example of aws_iam_role_policy

This commit is contained in:
Radek Simko 2015-08-04 11:57:05 +01:00
parent c870f45ba6
commit 57c2c90e20
1 changed files with 10 additions and 9 deletions

View File

@ -18,13 +18,14 @@ resource "aws_iam_role_policy" "test_policy" {
role = "${aws_iam_role.test_role.id}"
policy = <<EOF
{
"Version": "2008-10-17",
"Version": "2012-10-17",
"Statement": [
{
"Action": "sts:AssumeRole",
"Principal": {"AWS": "*"},
"Action": [
"ec2:Describe*"
],
"Effect": "Allow",
"Sid": ""
"Resource": "*"
}
]
}