HashiCorp Certified: Terraform Associate — Question 343
While attempting to deploy resources into your cloud provider using Terraform, you begin to see some odd behavior and experience sluggish responses. In order to troubleshoot you decide to turn on Terraform debugging. Which environment variables must be configured to make Terraform's logging more verbose?
Answer options
- A. TF_LOG_LEVEL
- B. TF_LOG_FILE
- C. TF_LOG
- D. TP_LOG_PATH
Correct answer: C
Explanation
The correct answer is C, as setting the TF_LOG environment variable enables logging in Terraform. Options A and B are related to logging configurations but do not directly enable logging. Option D is not a valid Terraform environment variable.