diff --git a/kb/continuous-delivery/faqs.md b/kb/continuous-delivery/faqs.md index 369f446ee53..5a7ea18326f 100644 --- a/kb/continuous-delivery/faqs.md +++ b/kb/continuous-delivery/faqs.md @@ -1856,6 +1856,14 @@ Yes, The infrastructure key is generated by combining the serviceIdentifier, env To activate debug logging for the Terraform Plan step, include the environment variable ```TF_LOG=debug``` in the Advanced tab of your Terraform Plan step. +#### What are some useful Terraform Environment Variables commonly used by customers +Environment Variables allow customers to modify some properties of their Terraform executions in Terraform steps. Some common useful commands include: + +`TF_CLI_ARGS_init="-var-file="` - In utilizing TFC as a remote backend, cusomters may need this option to specify the environment where Terraform will provision resources. This will help refer to the config that should be used on init.https://support.hashicorp.com/hc/en-us/articles/4408532630675-HCP-Terraform-How-to-set-remote-backend-partial-configuration-to-manage-different-environments-with-Terraform-Cloud +`TF_LOG=debug` - Set log to "debug" output. Other options include "trace" or "off" https://developer.hashicorp.com/terraform/internals/debugging#set-the-tf_log-variable + + +For other Environment VARs, [please visit Terraform's website](https://developer.hashicorp.com/terraform/cli/config/environment-variables) #### How is infra key formed for deployments.