forked from TrueCloudLab/lego
Merge pull request #103 from willglynn/compact_iam_policy
Compact IAM policy
This commit is contained in:
commit
1bb7d54178
1 changed files with 8 additions and 24 deletions
32
README.md
32
README.md
|
@ -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>"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue