Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomaswitt/e7b6b08d2d6c94fb91d80a8cfc2f20a8 to your computer and use it in GitHub Desktop.
Save thomaswitt/e7b6b08d2d6c94fb91d80a8cfc2f20a8 to your computer and use it in GitHub Desktop.
aws_get_route53_records
aws --profile MY_PROFILE route53 list-resource-record-sets --hosted-zone-id '/hostedzone/ZOHE_ID' --output json | jq -jr '.ResourceRecordSets[] | "\(.Name) \t\(.TTL) \t\(.Type) \t\(.ResourceRecords[]?.Value)\n"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment