Created
December 27, 2017 18:34
-
-
Save mda590/82bc63a61eb3115616006b2285445488 to your computer and use it in GitHub Desktop.
Get all EC2 regions in a comma separated string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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