TFLint

TFLint is a linter for Terraform.

You can enable the TFLint linter with:

trunk check enable tflint

Auto Enabling

TFLint will be auto-enabled if any Terraform files are present.

Settings

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 Linter Configs for more info.

Last updated