Created
October 14, 2025 23:47
-
-
Save gene1wood/e2be9f1c4b5c8294de1843c7feb6340a to your computer and use it in GitHub Desktop.
Get a list of all AWS regions enabled in the current account
This file contains hidden or 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 account list-regions --region-opt-status-contains ENABLED ENABLED_BY_DEFAULT --query "Regions[*].RegionName" --output text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment