Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
which elbs in route53?
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