Since TFLint embeds a specific version of Terraform as a library, some features implicitly assume the behavior of Terraform v1.0.0
Of course, TFLint may work correctly if you run it on other versions. But, false positives/negatives can occur based on this assumption.
Like Terraform, it supports the --var
, --var-file
options, automatic loading of variable definitions (.tfvars
) files, and environment variables.
Named values are supported partially. The following named values are available:
var.<NAME>
path.module
path.root
path.cwd
terraform.workspace
Expressions that reference named values not included above are excluded from the inspection.
Built-in Functions are fully supported.
The following environment variables are supported: