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?
A
Reference:
https://www.terraform.io/docs/cli/config/environment-variables.html
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.
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.
Set the environment variable TF_LOG=TRACE
TF_LOG=TRACE is correct. Ans A