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
File details
Details for the file aws_org_tree-0.4.1.tar.gz
.
File metadata
- Download URL: aws_org_tree-0.4.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b673abbc58675152573ec99110717a12451d9f1bf63b89655dcccdf73a285c0 |
|
MD5 | 4da5f5701b9d7299946a61a4a06324cd |
|
BLAKE2b-256 | b74447a728f02377769dcb2847fcb566b529d122d78dfb736764d2135ab9df2a |
File details
Details for the file aws_org_tree-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: aws_org_tree-0.4.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e3d60957df2a1896d2a2cfd68c3414cb69b553a058c47716be0639f4b489031 |
|
MD5 | 2d939a56a5ab4479f6dc9706f90cea00 |
|
BLAKE2b-256 | b1254b4997a661f938c5bfc12f6eddb95fce45e4a49af3669c4bf741eda44b60 |