Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions kb/continuous-delivery/faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<pathToVarFiles>"` - 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.

Expand Down