You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (*.tf files). You need to enable debug messages to find this out.
Which of the following would achieve this?
You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (*.tf files). You need to enable debug messages to find this out.
Which of the following would achieve this?
To enable debug messages and see from which paths Terraform is loading providers referenced in your configuration files, you need to set the environment variable TF_LOG to TRACE. This configuration sets the log level to TRACE, which is the most verbose logging level available, thereby providing detailed debug information, including the loading paths for providers.
A is correct answer. TF_LOG=TRACE Although this will only output to stderr and if you need to review log file you will need to include TF_LOG_PATH=pathtofile https://www.terraform.io/internals/debugging
A. TRACE is the most verbose option available and should show what the user is looking for. TRACE will show TRACE, DEBUG, INFO, WARN and ERROR messages in the output.
Set the environment variable TF_LOG=TRACE
A. Set the environment variable TF_LOG=TRACE To enable debug messages in Terraform, you can set the environment variable TF_LOG to the value TRACE. This will cause Terraform to print detailed debug information, including the paths from which it is loading providers.
TF_LOG=TRACE is correct. Ans A