Offline facts engine for Terraform module review and authoring
https://modules.tf/rules/ โ// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 88/100 with only 25 stars
- Around since 2021 and still shipping
- Accepts sponsorship (github, patreon, paypal.me, buymeacoffee.com)
- 10 releases in the last 90 days
// how to help
// readme
Terraform Modules Facts
mtf-facts is an offline Go CLI that parses Terraform module trees and reports deterministic facts: rule results, candidate findings with evidence, interface and schema diffs.
It serves two uses:
- Module authoring:
lint, a provider coverageledgercheck, andschema-difffor provider upgrades. - Module review: a facts bundle that lets a model reviewer skip the rules a parser can decide,
fixture-build, which builds the scratch trees of a verification ladder level from trusted templates, andfixture-check, the allowlist such a tree passes before Terraform runs on it.
It reads files only. It makes no network call and runs no Terraform or other program.
Quick start
Install mtf-facts, then lint what a branch of your Terraform module changed. On macOS or Linux, install with Homebrew:
brew install modulestf/tap/mtf-facts