Created
December 21, 2016 02:36
-
-
Save farrellit/4e526552f1b322706d8d0003d607edfe to your computer and use it in GitHub Desktop.
which elbs in route53?
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
aws route53 list-hosted-zones --query HostedZones[?Id!=null].Id --output text | grep -v None | xargs -n 1 aws route53 list-resource-record-sets --query 'ResourceRecordSets[?AliasTarget!=null][AliasTarget.DNSName]' --hosted-zone-id --output text | grep -F elb.amazonaws.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment