nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #55

You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (* files). You need to enable additional logging messages to find this out. Which of the…

The correct answer is B. Set the environment variable TF_LOG_TRACE. This will enable additional logging messages to find out from which paths Terraform is loading providers referenced in your Terraform configuration files, as it will set the log level to TRACE, which is the most verbose and detailed level.

Use the Terraform CLI (outside of core workflow)

Question

You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (* files). You need to enable additional logging messages to find this out. Which of the following would achieve this?

Options

  • ASet verbose for each provider in your Terraform configuration
  • BSet the environment variable TF_LOG_TRACE
  • CSet the environment variable TF_LOG_PATH
  • DSet the environment variable TF_log_TRACE

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    70% (16)
  • C
    17% (4)
  • D
    4% (1)

Explanation

This will enable additional logging messages to find out from which paths Terraform is loading providers referenced in your Terraform configuration files, as it will set the log level to TRACE, which is the most verbose and detailed level.

Topics

#TF_LOG#environment variables#debugging#provider loading

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice