Below is a list of environment variables available in TFLint.
TFLINT_LOG
- Print logs to stderr. See Debugging.
TFLINT_CONFIG_FILE
- Configure the config file path. See Configuring TFLint.
TFLINT_PLUGIN_DIR
- Configure the plugin directory. See Configuring Plugins.
TFLINT_EXPERIMENTAL
- Enable experimental features. Note that experimental features are subject to change without notice. Currently only Keyless Verification are supported.
TF_VAR_name
- Set variables for compatibility with Terraform. See Compatibility with Terraform.
TF_DATA_DIR
- Configure the
.terraform
directory for compatibility with Terraform. See Compatibility with Terraform.
- Configure the
TF_WORKSPACE
- Set a workspace for compatibility with Terraform. See Compatibility with Terraform.