Add a note about TERRAFORM_CONFIG to help with migration of very old configurations.

Per the description, a user was confused about the usage and lack of documentation around TERRAFORM_CONFIG. It would help newer users update old configs if this was documented in some fashion.
pull/34918/head
Craig Wright 2 years ago committed by GitHub
parent df738d498d
commit 4afdd94390
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -151,6 +151,8 @@ The location of the [Terraform CLI configuration file](/terraform/cli/config/con
export TF_CLI_CONFIG_FILE="$HOME/.terraformrc-custom"
```
(Note that `TERRAFORM_CONFIG` is a deprecated alias for this variable. Please do not use `TERRAFORM_CONFIG` as it may be removed in future versions of Terraform.)
## TF_PLUGIN_CACHE_DIR
The `TF_PLUGIN_CACHE_DIR` environment variable is an alternative way to set [the `plugin_cache_dir` setting in the CLI configuration](/terraform/cli/config/config-file#provider-plugin-cache).

Loading…
Cancel
Save