Skip to content

Commit

Permalink
Update iam_policy.html.markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng authored Sep 16, 2019
1 parent 37169da commit 8d24ade
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions website/docs/r/iam_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,14 @@ resource "aws_iam_policy" "policy" {
path = "/"
description = "My test policy"
policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"ec2:Describe*"
],
"Effect": "Allow",
"Resource": "*"
}
]
}
EOF
policy = jsonencode({
Version = "2012-10-17"
Statement = [{
Action = ["ec2:Describe*"]
Effect = "Allow"
Resource = "*"
}]
})
}
```

Expand Down

1 comment on commit 8d24ade

@paultyng
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry 😭

Please sign in to comment.