From c73104686dbbf4e0926e47e5eee7a8440a231add Mon Sep 17 00:00:00 2001 From: hashitop Date: Fri, 27 Mar 2020 16:38:21 +1100 Subject: [PATCH] Add description about env var TF_IGNORE --- website/docs/commands/environment-variables.html.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/website/docs/commands/environment-variables.html.md b/website/docs/commands/environment-variables.html.md index 9a15198cd2..629a60bac0 100644 --- a/website/docs/commands/environment-variables.html.md +++ b/website/docs/commands/environment-variables.html.md @@ -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) \ No newline at end of file