Linters
TFLint
A linter that catches possible errors, deprecated syntax, and provider-specific issues in Terraform code.
Problem it solves
Why it exists.
It finds infrastructure mistakes before Terraform plans or applies them.
Optimized for
Where it shines.
Terraform repositories with automated checks and reusable modules.
Use with care
Where not to use it.
Do not treat lint output as a replacement for plan review and policy checks.
Components
What it is made of.
- Rules
- Plugins
- Terraform parser
- CI integration
Process
How it works.
- Terraform files are parsed
- Rules inspect the configuration
- Findings are reported
- The pipeline blocks or records issues