Created
July 4, 2018 10:49
-
-
Save bashtoni/cda204308d9730d6420e59d84f55f77e to your computer and use it in GitHub Desktop.
Get HostedZoneId from AWS CLI for a given domain
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
aws route53 list-hosted-zones-by-name --dns-name example.com --query HostedZones[].Id --output text | cut -d/ -f3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
perfect, thanks :-)