Skip to content

Instantly share code, notes, and snippets.

@jkinred
Created September 13, 2019 03:32
Show Gist options
  • Save jkinred/a9d10f6c98d10e79f32567e0331dd1f3 to your computer and use it in GitHub Desktop.
Save jkinred/a9d10f6c98d10e79f32567e0331dd1f3 to your computer and use it in GitHub Desktop.
All availability zones in all regions
for region in `aws ec2 describe-regions --all-regions | jq -r .Regions[].RegionName`; do aws ec2 describe-availability-zones --region $region | jq .AvailabilityZones[].ZoneName; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment