Discover Active Regions

Discover all active AWS regions for an account. Useful for dynamically targeting operations across multiple regions.

Source codePermissions

Usage

Input

Parameter Description Type Required Default value
debug Increase log verbosity bool No False
silent Decrease log verbosity bool No False
output Output format
table
string No None
session Established session object No None

Output

Returns a list of discovered regions:

['us-east-1', 'us-west-2', 'eu-west-1']

Examples

Discover active regions:

aaws ec2 discover_active_regions