Skip to content

Instantly share code, notes, and snippets.

@shanedroid
Last active October 12, 2016 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanedroid/750dd69b3016c8e3b14122a07af4a2a3 to your computer and use it in GitHub Desktop.
Save shanedroid/750dd69b3016c8e3b14122a07af4a2a3 to your computer and use it in GitHub Desktop.
IAM policy to allow for updating DNS RECS in Route 53
{
"Version": "2012-10-17",
"Statement":[
{
"Action":[
"route53:ChangeResourceRecordSets",
"route53:GetHostedZone",
"route53:ListResourceRecordSets",
"route53:GetChange"
],
"Effect":"Allow",
"Resource":[
"arn:aws:route53:::hostedzone/<ZONE-ID>"
]
},
{
"Action":[
"route53:ListHostedZones"
],
"Effect":"Allow",
"Resource":[
"*"
]
}
]
}
@shanedroid
Copy link
Author

Using this for having Jenkins Slaves update A REC for easier access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment