Created
October 12, 2015 20:03
-
-
Save jmatt/a95ee63736c1ba64a363 to your computer and use it in GitHub Desktop.
Bash command to add CNAME
This file contains 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
{ | |
"Comment": "A new CNAME for jsick's Read the Docs documentation.", | |
"Changes": [ | |
{ | |
"Action": "CREATE", | |
"ResourceRecordSet": { | |
"Name": "docs.lsst.codes.", | |
"Type": "CNAME", | |
"SetIdentifier" : "Read the Docs", | |
"Weight": 10, | |
"TTL": 900, | |
"ResourceRecords": [ | |
{ | |
"Value": "lsst-stack-docs.readthedocs.org" | |
} | |
] | |
} | |
} | |
] | |
} |
This file contains 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
# See http://docs.aws.amazon.com/cli/latest/reference/route53/change-resource-record-sets.html | |
aws route53 change-resource-record-sets --hosted-zone-id Z3TH0HRSNU67AM --change-batch file:///path/change-resource-record-sets.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment