Merge pull request #24479 from hashitop/f-update-doco-add-reference-tf_ignore-env_var

Update documentation to add reference to the TF_IGNORE environment variable used for validating .terraformignore excluded files.
This commit is contained in:
Petros Kolyvas 2020-04-22 12:24:23 -04:00 committed by GitHub
commit 7c278f9d80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -135,3 +135,13 @@ The location of the [Terraform CLI configuration file](/docs/commands/cli-config
```shell
export TF_CLI_CONFIG_FILE="$HOME/.terraformrc-custom"
```
## TF_IGNORE
If `TF_IGNORE` is set to "trace", Terraform will output debug messages to display ignored files and folders which is useful when debugging large repositories with `.terraformignore` file. For example:
```shell
export TF_IGNORE=trace
```
For more detals on `.terraformignore`, please see [Excluding Files from Upload with .terraformignore](docs/backends/types/remote.html#excluding-files-from-upload-with-terraformignore)