HashiCorp Certified: Terraform Associate — Question 83

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?

Answer options

Correct answer: A

Explanation

Setting the environment variable TF_LOG=TRACE enables detailed logging, which includes information about the paths from which Terraform loads providers. The other options either do not provide the necessary level of logging (B) or are incorrectly formatted environment variables (C and D), thus they will not achieve the desired result.