TERRAFORM-ASSOCIATE-004 · Question #159
TERRAFORM-ASSOCIATE-004 Question #159: Real Exam Question with Answer & Explanation
The correct answer is B: TF_LOG. To make Terraform's logging more verbose for troubleshooting purposes, you must configure the TF_LOG environment variable. This variable controls the level of logging and can be set to TRACE, DEBUG, INFO, WARN, or ERROR, with TRACE providing the most verbose output.
Question
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?
Options
- ATF_LOG_PAIH
- BTF_LOG
- CTF_VAR_log_path
- DTF_VAR_log_level
Explanation
To make Terraform's logging more verbose for troubleshooting purposes, you must configure the TF_LOG environment variable. This variable controls the level of logging and can be set to TRACE, DEBUG, INFO, WARN, or ERROR, with TRACE providing the most verbose output.
Topics
Community Discussion
No community discussion yet for this question.