Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
aws route53 list-hosted-zones --query HostedZones[?Id!=null].Id --output text \
| grep -v None \
| xargs -n 1 -P 10 \
aws route53 list-resource-record-sets \
--query 'ResourceRecordSets[?AliasTarget!=null][AliasTarget.DNSName]' \
--output text --hosted-zone-id | grep -F elb.amazonaws.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment