Merge pull request #103 from willglynn/compact_iam_policy

Compact IAM policy
This commit is contained in:
Matt Holt 2016-02-06 18:23:21 -07:00
commit 1bb7d54178

View file

@ -140,34 +140,18 @@ Replace `<INSERT_YOUR_HOSTED_ZONE_ID_HERE>` with the Route 53 zone ID of the dom
"Version": "2012-10-17", "Version": "2012-10-17",
"Statement": [ "Statement": [
{ {
"Sid": "1",
"Effect": "Allow", "Effect": "Allow",
"Action": [ "Action": [ "route53:ListHostedZones", "route53:GetChange" ],
"route53:ChangeResourceRecordSets"
],
"Resource": [
"arn:aws:route53:::hostedzone/<INSERT_YOUR_HOSTED_ZONE_ID_HERE>"
]
},
{
"Sid": "2",
"Effect": "Allow",
"Action": [
"route53:GetChange"
],
"Resource": [
"arn:aws:route53:::change/*"
]
},
{
"Sid": "3",
"Effect": "Allow",
"Action": [
"route53:ListHostedZones"
],
"Resource": [ "Resource": [
"*" "*"
] ]
},
{
"Effect": "Allow",
"Action": ["route53:ChangeResourceRecordSets"],
"Resource": [
"arn:aws:route53:::hostedzone/<INSERT_YOUR_HOSTED_ZONE_ID_HERE>"
]
} }
] ]
} }