Skip to content

tfcensus rules ​

Ownership rules sort the resources no unit manages into categories such as aws-managed, other-iac or derived. The built-in packs run first, then the rules under rules: in the config and in --rules files. rules test shows which rule matches a sample resource without calling AWS.

Usage ​

sh
tfcensus rules <command>

The global flags work with every command.

Examples ​

sh
tfcensus rules test rules.yaml
tfcensus rules test rules.yaml --resource samples.json --format json

Subcommands ​

CommandDescription
tfcensus rules testCompile ownership rules and evaluate them against sample resources, offline