Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 260

While attempting to deploy resources into your cloud provider using Terraform, you begin to see some odd behavior and experience slow 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?

    Correct Answer: C

    To make Terraform's logging more verbose, you need to set the TF_LOG environment variable. This variable controls the verbosity of Terraform logs and can be set to TRACE, DEBUG, INFO, WARN, or ERROR.

Discussion
DevoteamAnalytixOption: C

"You can set TF_LOG to one of the log levels (in order of decreasing verbosity) TRACE, DEBUG, INFO, WARN or ERROR to change the verbosity of the logs." https://developer.hashicorp.com/terraform/internals/debugging