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.
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
Installation
Prerequisite: Python 3.12 at least.
Recommended: pipx, which installs the tool in an isolated virtualenv while linking the script you need.
Install using pipx (recommended because it uses an isolated virtualenv to avoid dependency conflicts with other Python things you may have).
pipx install aws-org-tree
Or install using pip.
pip install --user aws-org-tree
Learn to use it.
aws-org-tree --help
Development
Install Python 3.12.
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.
Read the testing README.
Continuous integration and deployment
Push to any branch to run the tests on every commit via GitHub Actions.
Push an annotated tag of the form x.y.z (semantic version) to publish a GitHub release and publish the package distributions to PyPI if the tests pass. It may work on any branch but please only do it on the main branch.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws_org_tree-0.5.0.tar.gz.
File metadata
- Download URL: aws_org_tree-0.5.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cbc2dfae269f92c1cfb0534fc67b2fc143509ad9a41eb20314e331cb447ffbc
|
|
| MD5 |
279097924dc89f6edcb128785fd8840d
|
|
| BLAKE2b-256 |
0f7f00e549d6cfa22e5f46a03931b75fbf9d816b9538821c158cc0026dc97247
|
Provenance
The following attestation bundles were made for aws_org_tree-0.5.0.tar.gz:
Publisher:
publish.yaml on iainelder/aws-org-tree
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aws_org_tree-0.5.0.tar.gz -
Subject digest:
5cbc2dfae269f92c1cfb0534fc67b2fc143509ad9a41eb20314e331cb447ffbc - Sigstore transparency entry: 203248527
- Sigstore integration time:
-
Permalink:
iainelder/aws-org-tree@c1d921733092a425de6d5b5ff671e9c31586a65a -
Branch / Tag:
refs/tags/0.5.0 - Owner: https://github.com/iainelder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@c1d921733092a425de6d5b5ff671e9c31586a65a -
Trigger Event:
push
-
Statement type:
File details
Details for the file aws_org_tree-0.5.0-py3-none-any.whl.
File metadata
- Download URL: aws_org_tree-0.5.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ca5c57e1b4e1b12a7dc94d1db086b675f32883f5bf50c0dc18bd16f1f2a4f3c
|
|
| MD5 |
06828abaa38f17e382a752abe56b6fbc
|
|
| BLAKE2b-256 |
1a6467f77af381e519ca8d4986c6f136f12a90fb6be5207c4b990681e9e33d55
|
Provenance
The following attestation bundles were made for aws_org_tree-0.5.0-py3-none-any.whl:
Publisher:
publish.yaml on iainelder/aws-org-tree
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aws_org_tree-0.5.0-py3-none-any.whl -
Subject digest:
6ca5c57e1b4e1b12a7dc94d1db086b675f32883f5bf50c0dc18bd16f1f2a4f3c - Sigstore transparency entry: 203248529
- Sigstore integration time:
-
Permalink:
iainelder/aws-org-tree@c1d921733092a425de6d5b5ff671e9c31586a65a -
Branch / Tag:
refs/tags/0.5.0 - Owner: https://github.com/iainelder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@c1d921733092a425de6d5b5ff671e9c31586a65a -
Trigger Event:
push
-
Statement type: