No project description provided
Project description
aws-org-tree
Prints a text tree representation of an AWS organization.
aws-org-tree
Root (r-p74l)
├── isme-root-zcskbx (039444814027)
├── Sandbox (ou-p74l-a2llanp8)
└── Security (ou-p74l-094nw8v7)
├── Log Archive (386884128156)
└── Audit (466721047587)
Use the --node-name-format
option to print different properties of the resources. This part doesn't work well yet because different resources have different properties. If the property is missing the property name is used as a placeholder.
poetry run aws-org-tree --node-name-format "{Type} {Email}"
ROOT Email
├── ACCOUNT iain+awsroot+zcskbx@isme.es
├── ORGANIZATIONAL_UNIT Email
└── ORGANIZATIONAL_UNIT Email
├── ACCOUNT iain+awsroot+zcskbx+log-archive@isme.es
└── ACCOUNT iain+awsroot+zcskbx+audit@isme.es
Other formats
I removed the JSON tree (json-tree
) and flat JSON formats (json-flat
) formats Use version 0.2.0
if you need those.
Development
Install Python 3.8.
Clone the repo.
Run poetry install
.
Hack away.
Run quality checks with poetry run pre-commit run --all-files
.
Install quality checks as pre-commit checks with poetry run pre-commit install
.
Continuous integration
Push to the main branch to run the development quality checks via GitHub Actions.
Run continuous integration locally with act.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aws_org_tree-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e3d60957df2a1896d2a2cfd68c3414cb69b553a058c47716be0639f4b489031 |
|
MD5 | 2d939a56a5ab4479f6dc9706f90cea00 |
|
BLAKE2b-256 | b1254b4997a661f938c5bfc12f6eddb95fce45e4a49af3669c4bf741eda44b60 |