Skip to main content
TFLint is a linter for Terraform configuration files. CodeRabbit runs TFLint v0.64.0.

Files

TFLint runs only on files with the following extension:
  • .tf

Configuration

boolean
default:true
Enable TFLint: TFLint is a Terraform linter for finding potential errors.
.coderabbit.yaml
CodeRabbit handles a repository .tflint.hcl as follows:
  • If the repository does not include .tflint.hcl, CodeRabbit runs TFLint with its safe defaults.
  • If the repository does include .tflint.hcl, CodeRabbit writes and uses a safe override config that enables only the bundled terraform ruleset.
  • A repository .tflint.hcl is not required.

Security policy and restrictions

When we skip TFLint

CodeRabbit skips TFLint when:
  • TFLint is disabled in your CodeRabbit configuration.
  • No .tf files are in the pull request.
  • TFLint is already running in GitHub workflows.