BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Exam Terraform-Associate-003 Topic 6 Question 27 Discussion

Actual exam question for HashiCorp's Terraform-Associate-003 exam
Question #: 27
Topic #: 6
[All Terraform-Associate-003 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

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


Contribute your Thoughts:

Demetra
23 days ago
B) TF_LOG, no doubt. Terraform's documentation is actually pretty good once you get the hang of it.
upvoted 0 times
...
Justine
24 days ago
Ah, the age-old question of Terraform logging. I think B) TF_LOG is the way to go, but I'd better not bet the farm on it.
upvoted 0 times
Virgilio
7 days ago
I think B) TF_LOG is the way to go.
upvoted 0 times
...
...
Salena
1 months ago
Haha, I always forget which one it is. Let me double-check the docs... Yep, it's definitely B) TF_LOG.
upvoted 0 times
...
Laurene
1 months ago
I'm going to go with B) TF_LOG. It's the classic way to get more verbose logging from Terraform.
upvoted 0 times
Adelle
3 days ago
User3: I've used TF_LOG before and it definitely helps with troubleshooting.
upvoted 0 times
...
Adolph
5 days ago
User2: Yeah, I agree. TF_LOG is the classic option for Terraform debugging.
upvoted 0 times
...
Talia
20 days ago
I think B) TF_LOG is the way to go for more verbose logging.
upvoted 0 times
...
...
Aaron
2 months ago
I'm not sure, but I think TF_LOG_PAIH might also be a valid option. It sounds like it could be related to logging.
upvoted 0 times
...
Sueann
2 months ago
I agree with Rosendo. TF_LOG is the correct environment variable to make Terraform's logging more verbose.
upvoted 0 times
...
Carline
2 months ago
Hmm, I thought it was D) TF_VAR_log_level, but I could be wrong. Debugging Terraform can be a pain sometimes.
upvoted 0 times
...
Rosendo
2 months ago
I think the answer is B) TF_LOG. It makes sense to configure this to get more detailed logging.
upvoted 0 times
...
Melissa
2 months ago
I'm pretty sure it's B) TF_LOG. That's the environment variable I've used before to turn on Terraform's debugging.
upvoted 0 times
Arlette
1 months ago
Yeah, I agree. TF_LOG is the correct environment variable to configure for verbose logging in Terraform.
upvoted 0 times
...
Vilma
1 months ago
I think it's B) TF_LOG as well. That's the one I always use for Terraform debugging.
upvoted 0 times
...
...

Save Cancel