Skip to content

tfcensus report ​

report reads JSON files that earlier runs wrote and renders them, offline: no AWS call, no terragrunt and no state read. report html builds one static HTML page. The other subcommands print the same summaries as the tools of tfcensus mcp, with the same filters.

Usage ​

sh
tfcensus report <command>

The global flags work with every command.

Examples ​

sh
tfcensus report scan --from scan.json --category unmanaged
tfcensus report html --from scan.json --from drift.json -o census.html

Subcommands ​

CommandDescription
tfcensus report auditList the findings of a saved backend audit, highest severity first
tfcensus report driftSummarize a saved drift run: unit statuses and drifted resources
tfcensus report htmlWrite a static HTML report from scan, drift and audit JSON
tfcensus report inventoryCount the managed resources of a saved state index per unit and type
tfcensus report scanSummarize a saved scan: counts and the top unmanaged resources
tfcensus report unitsList the units of a saved state index