Skip to content

Instantly share code, notes, and snippets.

@mda590
Created December 27, 2017 18:34
Show Gist options
  • Save mda590/82bc63a61eb3115616006b2285445488 to your computer and use it in GitHub Desktop.
Save mda590/82bc63a61eb3115616006b2285445488 to your computer and use it in GitHub Desktop.
Get all EC2 regions in a comma separated string
aws ec2 describe-regions | jq -r '[.Regions[].RegionName] | @csv'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment