iac.tflintTFLint
Runs TFLint over every Terraform module directory with the bundled Terraform ruleset (recommended preset): unpinned module sources and versions, missing provider constraints, deprecated syntax, unused declarations, syntax errors. The project's .tflint.hcl and .tflint.d plugins are never loaded and `tflint --init` never runs: openaudit passes its own config. The AWS, Azure and Google rulesets (invalid instance types, sizes, regions) are enabled when their plugin binaries are installed in OPENAUDIT_TFLINT_PLUGIN_DIR (default /opt/tflint-plugins, as in the Docker image) and the code uses that provider. Module calls are not followed (--call-module-type=none), so nothing is downloaded.
- Engine
- Wrapped scanner
- Wraps
tflint- Targets
- Infrastructure as code
- Runs
- By default, when the target applies
- Network
- Only the target itself
Run only this auditor
bunx @openaudit/cli . --only iac.tflintWraps tflint. When it isn't installed, the auditor is skipped with an install hint and the rest of the audit runs.