description | title | layout | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TFLint is an essential linter designed for Terraform. It helps improve code quality, maintainability, and security in infrastructure as code (IaC) projects. |
Trunk | How to run TFLint |
|
TFLint is a linter for Terraform.
You can enable the TFLint linter with:
trunk check enable tflint
TFLint will be auto-enabled if any Terraform files are present.
TFLint supports the following config files:
.tflint.hcl
You can move these files to .trunk/configs
and trunk check
will still find them. See Moving Linters for more info.
- TFLint site
- TFLint Trunk Code Quality integration source
- Trunk Code Quality's open source plugins repo