Example: quick audit of one account
Goal: a readable inventory of one account, in Excel and Word, in a few minutes.
You need: credentials for the account, for example
aws sso login --profile prod-readonly and export AWS_PROFILE=prod-readonly.
Template
The built-in single-account config template scans us-east-1 and writes
both files with the standard-bom layout. Copy it and set your regions:
Terminal
inventag templates init single-account --output .inventag/templates/audit.yaml
.inventag/templates/audit.yaml
format_version: 1
kind: config
name: audit
description: Scan the account of your current credentials and write Excel and Word reports.
spec:
regions: [us-east-1, eu-west-1] # the regions you use
outputs: [excel, word]
output_directory: bom_output
report_template: standard-bom
Command
Terminal
inventag templates validate audit
inventag --template audit
Output
The same layout from an offline run in one region (sample data):
Terminal
inventag - WARNING - - No account specification method provided. Using default AWS credentials.
Wrote bom_output/multi_account_bom_20261112_090000.docx
Wrote bom_output/multi_account_bom_20261112_090000.xlsx
Sheets: Summary, DYNAMODB, EC2, EVENTS, IAM, KMS, LAMBDA, S3, VPC
Summary sheet:
AWS Resource Inventory
Bill of materials generated by InvenTag
Generated: 2026-11-12 09:00 UTC
Accounts: 1 Regions: 2
| Service | Resources | Share |
|---|---|---|
| DYNAMODB | 1 | 2.8% |
| EC2 | 4 | 11.1% |
| EVENTS | 1 | 2.8% |
| IAM | 1 | 2.8% |
| KMS | 14 | 38.9% |
| LAMBDA | 1 | 2.8% |
| S3 | 4 | 11.1% |
| VPC | 10 | 27.8% |
| Total | 36 | 100.0% |
Sheets: Summary, DYNAMODB, EC2, EVENTS, IAM, KMS, LAMBDA, S3, VPC
S3 sheet, first rows:
| Account | Region | Service | Type | Name | ID | ARN | Tag: CostCenter | Tag: DataClassification | Tag: Environment | Tag: Owner | ... |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 123456789012 | us-east-1 | S3 | Bucket | acme-app-logs | acme-app-logs | arn:aws:s3:::acme-app-logs | CC-1001 | internal | prod | platform | ... |
| 123456789012 | us-east-1 | S3 | Bucket | acme-data-lake | acme-data-lake | arn:aws:s3:::acme-data-lake | CC-2002 | prod | data | ... | |
| 123456789012 | us-east-1 | S3 | Bucket | acme-reports | acme-reports | arn:aws:s3:::acme-reports | 1234 | Production | finance | ... | |
| 123456789012 | us-east-1 | S3 | Bucket | acme-scratch | acme-scratch | arn:aws:s3:::acme-scratch | ... |
The sheet has 12 columns; the first 11 are shown.
Next steps
- Add a tag check:
inventag --template audit --template security-baseline. - Run it every week: Run InvenTag in CI/CD.