HashiCorp Certified: Terraform Associate — Question 214

You can configure Terraform to log to a file using the TF_LOG environment variable.

Answer options

Correct answer: B

Explanation

The statement is incorrect because the TF_LOG environment variable is used to control the verbosity of logs but does not directly log to a file. Instead, logs are printed to standard output, and additional configurations are needed to redirect them to a file.