Created
December 10, 2017 14:18
-
-
Save li0nel/0dba305a0fc87eaf40a148046ece5275 to your computer and use it in GitHub Desktop.
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
# Add an ALIAS record to ELB URL | |
aws route53 change-resource-record-sets | |
--hosted-zone-id /hostedzone/YOUR_HOSTED_ZONE_ID | |
--change-batch '{ | |
"Changes":[ | |
{ | |
"Action":"CREATE", | |
"ResourceRecordSet":{ | |
"Name":"files.laravelaws.com.", | |
"Type":"A", | |
"AliasTarget":{ | |
"DNSName":"d165d2lrm1x3fz.cloudfront.net", | |
"EvaluateTargetHealth":true, | |
"HostedZoneId":"YOUR_HOSTED_ZONE_ID" | |
} | |
} | |
} | |
] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment