ExamGecko
Question list
Search
Search

Question 161 - Terraform Associate 003 discussion

Report
Export

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?

A.
TF_LOG_PAIH
Answers
A.
TF_LOG_PAIH
B.
TF_LOG
Answers
B.
TF_LOG
C.
TF_VAR_log_path
Answers
C.
TF_VAR_log_path
D.
TF_VAR_log_level
Answers
D.
TF_VAR_log_level
Suggested answer: B

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. Reference = Detailed debugging instructions and the use of environment variables like TF_LOG for increasing verbosity are part of Terraform's standard debugging practices

asked 18/09/2024
Nitharsan Balanavaneethan
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first