TERRAFORM
Linters
Linter | Additional |
---|---|
tflint TERRAFORM_TFLINT |
|
terrascan TERRAFORM_TERRASCAN |
|
terragrunt TERRAFORM_TERRAGRUNT |
|
terraform-fmt TERRAFORM_TERRAFORM_FMT |
Linted files
- File extensions:
.tf
Configuration in MegaLinter
Variable | Description | Default value |
---|---|---|
TERRAFORM_PRE_COMMANDS | List of bash commands to run before the linters | None |
TERRAFORM_POST_COMMANDS | List of bash commands to run after the linters | None |
TERRAFORM_FILTER_REGEX_INCLUDE | Custom regex including filter | |
TERRAFORM_FILTER_REGEX_EXCLUDE | Custom regex excluding filter |