Overview
This Python package allows you to list all availability zones configured for a given AWS account. It is part of our larger AWS Toolkit.
Installation
To install the package, use:
pip install wolfsoftware.list-regions
Usage
To list all regions for your AWS account, use the following command:
usage: list-regions [-h] [-V] [-p PROFILE] [-t THREADS]
List all regions configured for an account.
flags:
-h, --help Show this help message and exit
-V, --version Show program's version number and exit.
optional:
-p PROFILE, --profile PROFILE
AWS profile name from ~/.aws/credentials (default: None)
-t THREADS, --threads THREADS
The number of threads to use (default: 8)
Requirements
You will need a valid set of AWS credentials to run this command. These credentials should be configured in your ~/.aws/credentials file.
Example Output
Below is an example of the output you can expect from running this command:
+----------------+---------------------------+---------------------+
| Region Name | Location | Status |
+----------------+---------------------------+---------------------+
| af-south-1 | Africa (Cape Town) | not opted in |
| ap-east-1 | Asia Pacific (Hong Kong) | not opted in |
| ap-northeast-1 | Asia Pacific (Tokyo) | opt in not required |
| ap-northeast-2 | Asia Pacific (Seoul) | opt in not required |
| ap-northeast-3 | Asia Pacific (Osaka) | opt in not required |
| ap-south-1 | Asia Pacific (Mumbai) | opt in not required |
| ap-south-2 | Asia Pacific (Hyderabad) | not opted in |
| ap-southeast-1 | Asia Pacific (Singapore) | opt in not required |
| ap-southeast-2 | Asia Pacific (Sydney) | opt in not required |
| ap-southeast-3 | Asia Pacific (Jakarta) | not opted in |
| ap-southeast-4 | Asia Pacific (Melbourne) | not opted in |
| ca-central-1 | Canada (Central) | opt in not required |
| ca-west-1 | Canada West (Calgary) | not opted in |
| eu-central-1 | Europe (Frankfurt) | opt in not required |
| eu-central-2 | Europe (Zurich) | not opted in |
| eu-north-1 | Europe (Stockholm) | opt in not required |
| eu-south-1 | Europe (Milan) | not opted in |
| eu-south-2 | Europe (Spain) | not opted in |
| eu-west-1 | Europe (Ireland) | opt in not required |
| eu-west-2 | Europe (London) | opt in not required |
| eu-west-3 | Europe (Paris) | opt in not required |
| il-central-1 | Israel (Tel Aviv) | not opted in |
| me-central-1 | Middle East (UAE) | not opted in |
| me-south-1 | Middle East (Bahrain) | not opted in |
| sa-east-1 | South America (Sao Paulo) | opt in not required |
| us-east-1 | US East (N. Virginia) | opt in not required |
| us-east-2 | US East (Ohio) | opt in not required |
| us-west-1 | US West (N. California) | opt in not required |
| us-west-2 | US West (Oregon) | opt in not required |
+----------------+---------------------------+---------------------+
Additional Information
For more tools and utilities, check out our AWS Toolkit.
Release files for wolfsoftware.list-regions 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wolfsoftware_list_regions-0.1.2.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wolfsoftware.list_regions-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.6 kB
Release files / wolfsoftware_list_regions-0.1.2.tar.gz
| Download URL | wolfsoftware_list_regions-0.1.2.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e163ab0fd1cf6fdf84a49cec97ab150cf03d43607f66e92d956ccafe1708204
|
|
BLAKE2b-256 checksum How to use checksums |
31d85b3c42a51ed90cbb25e93a0cdd806cb1b386214c74e143357c81725b4301
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / wolfsoftware.list_regions-0.1.2-py3-none-any.whl
| Download URL | wolfsoftware.list_regions-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5ab47ed39eb489c319466a3d707880a28e07269912f271f3de44abe67e96861
|
|
BLAKE2b-256 checksum How to use checksums |
ee9babdb8d8a58b99dacebaaf6d5d26d9088919ee0008cfbc143b71f165be889
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|