Created
March 2, 2021 21:13
-
-
Save netstx/e2408c7de209ea44fab7a53b498ef7a5 to your computer and use it in GitHub Desktop.
AWS Route53 IAM policy for CertBot DNS verification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"route53:GetHostedZone", | |
"route53:ChangeResourceRecordSets", | |
"route53:ListResourceRecordSets" | |
], | |
"Resource": "arn:aws:route53:::hostedzone/HOSTEDZONE1_ID_HERE" | |
}, | |
{ | |
"Sid": "VisualEditor1", | |
"Effect": "Allow", | |
"Action": [ | |
"route53:GetHostedZone", | |
"route53:ChangeResourceRecordSets", | |
"route53:ListResourceRecordSets" | |
], | |
"Resource": "arn:aws:route53:::hostedzone/HOSTEDZONE2_ID_HERE" | |
}, | |
{ | |
"Sid": "VisualEditor2", | |
"Effect": "Allow", | |
"Action": [ | |
"route53:ListHostedZones", | |
"route53:GetHostedZoneCount", | |
"route53:GetChange", | |
"route53:ListHostedZonesByName" | |
], | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment