Find out what is running in your AWS accounts, check it is tagged properly, and hand over an Excel or Word bill of materials.
Install: pip install inventag-aws (PyPI)
Docs: https://habhabhabs.github.io/inventag-aws/
Quick start
Install from PyPI with pip:
python3 -m venv .venv && source .venv/bin/activate
pip install inventag-aws
inventag --validate-credentials # uses your current AWS credentials
inventag --create-excel --verbose # -> bom_output/multi_account_bom_<timestamp>.xlsx
A virtual environment is optional. pipx install inventag-aws gives you the
same inventag command without activating anything, and plain
pip install inventag-aws works wherever your Python allows it (newer Linux and
Homebrew Pythons refuse system-wide installs). To upgrade later, run
pip install --upgrade inventag-aws. To work on the code
or run the newest unreleased version, install from source instead:
git clone https://github.com/habhabhabs/inventag-aws.git
cd inventag-aws
python3 -m venv .venv && source .venv/bin/activate
pip install -e .
inventag --validate-credentials
Python 3.11 or later is required. Use a read-only IAM identity. By default, discovery made two
Cost Explorer requests for each account in our offline test, and AWS bills each
request. Add --no-billing-validation to make no Cost Explorer request.
Details:
Installation.
What it does
- Discovery across accounts and regions through the Resource Groups Tagging
API, per-service
List*/Describe*/Get*calls (46 services have their own discovery code) and Cost Explorer billing data. - Bill of materials as an Excel workbook (
--create-excel) and/or Word document (--create-word), with your own tag columns (--tag-mappings) and service descriptions (--service-descriptions). - Templates (
--template,inventag templates list): built-in and your own report layouts, tag policies and run settings. - Layout files (
--word-template,--excel-template): a YAML or JSON file selects the title, the sections or sheets, the columns, and the header and footer text. - Several accounts from a file (
--accounts-file), interactively (--accounts-prompt) or through an assumed role (--cross-account-role), processed in parallel.--resumescans only the accounts that did not finish in an earlier run. - Change tracking: each run saves a snapshot in
bom_output/state/; from the second run on, InvenTag writes a change report (changelog_<timestamp>.md) of what was added, removed or changed. - Google Sheets and Docs (
--create-google-sheets,--create-google-docs; add the Google add-on withpip install "inventag-aws[google]"): the same Excel and Word reports as Google files, private unless you share them. - Global services (IAM, S3 bucket list, CloudFront, Route 53, WAF for
CloudFront) are read once per account from
us-east-1(cn-north-1in China,us-gov-west-1in GovCloud), whichever regions you choose. - Upload to Amazon S3 (
--s3-bucket) with server-side encryption. - Read-only guard: the CLI blocks each AWS API call that is not a read
operation.
--audit-output audit.jsonwrites a list of the calls. - Secret values masked: values of fields that often hold secrets, such as
Lambda environment variables, become
***REDACTED***in reports, snapshots and logs. - Tag-policy checks (required tags, allowed values) with a tag-policy
template, for example
--template finops-cost-allocation. Results go to a Tag Compliance sheet, a Word section and a JSON file, and a config template can fail a CI job (exit code 3).
Limits
InvenTag has never been tested against a real AWS account; the tests use
mocked AWS or mocked clients. Google Sheets and Docs output has been tested only against mocked Google
clients. One failed account does not change the exit code unless you pass
--fail-on-account-error (exit code 5), and the report and the run summary
name it. Read
Current status and known limitations.
Not implemented
These flags stop the CLI with an error message and exit code 2:
--compliance-standard and --disable-production-safety. InvenTag does not certify
compliance with SOC 2 or other standards. For the full list, see
Current status and known limitations.
More examples
# Several accounts, Excel + Word, your own tag columns
# (the example files below are in a clone of the repository)
inventag --accounts-file accounts.json \
--create-excel --create-word \
--tag-mappings config/defaults/mappings/tag_to_column_mappings_example.yaml \
--service-descriptions config/defaults/services/service_descriptions_example.yaml
# Assume a read-only role (full role ARN)
inventag --cross-account-role arn:aws:iam::123456789012:role/InvenTagReadOnly \
--create-excel
# Assume the same role name in each account of accounts.json
inventag --accounts-file accounts.json --cross-account-role InvenTagReadOnly \
--create-excel
# Upload the reports to S3 (server-side encrypted)
inventag --create-excel --s3-bucket my-reports-bucket
# Faster runs: fewer regions, more accounts in parallel
inventag --accounts-file accounts.json --create-excel \
--account-regions us-east-1,ap-southeast-1 --max-concurrent-accounts 8
Every flag: Command-line reference.
Documentation
| Section | Link |
|---|---|
| Quick start | docs/getting-started/quick-start.md |
| Current status and known limitations | docs/getting-started/status.md |
| Choose what to scan | docs/guides/run-a-scan.md |
| Command-line reference | docs/reference/cli.md |
| Configuration files | docs/reference/configuration-files.md |
| Templates | docs/templates/index.md |
| Google Sheets and Docs output | docs/guides/google-sheets-and-docs.md |
| Read-only access and permissions | docs/guides/read-only-access.md |
| Architecture | docs/development/architecture.md |
| Contributing | docs/development/CONTRIBUTING.md |
The same Markdown files are published as the documentation site (Docusaurus,
in website/). Brand assets (logo, favicon, social card) and the script that
regenerates them live in website/brand/.
Project layout
inventag-aws/
├── inventag_cli.py # CLI entry point (the `inventag` command runs it)
├── inventag/ # Python package: cli, core, discovery, reporting, templating, state, security
├── scripts/legacy/ # standalone scripts (inventory, tag compliance, BOM converter)
├── config/ # example configs, IAM policy, JSON schemas
├── examples/ # account files and CI examples
├── docs/ # documentation (Markdown)
├── website/ # Docusaurus site, brand assets
└── tests/
Support
- Issues: bugs and feature requests
- Discussions: questions
License
MIT. See LICENSE.
AWS is a trademark of Amazon.com, Inc. or its affiliates. InvenTag is an independent tool and is not affiliated with, endorsed by, or sponsored by Amazon Web Services, Inc.
Metadata
Release files for inventag-aws 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| inventag_aws-1.2.0.tar.gz | 421.3 kB | With provenance | Details for inventag_aws-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inventag_aws-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for inventag_aws-1.2.0-py3-none-any.whl |
Total release size: 877.2 kB
Release files / inventag_aws-1.2.0.tar.gz
| Download URL | inventag_aws-1.2.0.tar.gz |
|---|---|
| Size | 421.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a30cfe311e9d7f6cac21710eb855056740d2b4bcbbd7bacc064e00e711823a03
|
|
BLAKE2b-256 checksum How to use checksums |
ee3bb22c57ede46d0a9d40705000d65e920d4788119c1055cc61a1c7608ea77a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logRelease files / inventag_aws-1.2.0-py3-none-any.whl
| Download URL | inventag_aws-1.2.0-py3-none-any.whl |
|---|---|
| Size | 455.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4260fa229ca5116aea0e25c5a005092c8d0c27a05dfa9541862e196f3c8a511c
|
|
BLAKE2b-256 checksum How to use checksums |
cefbe9971970c2d5a8d5bb7211d74ba6e5f1a61cd26ef6d9ecaa32fd5aea1802
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logSecurity for inventag-aws 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for inventag_aws-1.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.