Notifications
Clear all
Topic starter
You have already set TF_LOG = DEBUG to enable debug log. Now you want to always write the log to the directory you're currently running terraform from. what should you do to achieve this.
- A . Run the command export TF_LOG_FILE=./terraform.log.
B. Run the command export TF_LOG_PATH=./terraform.log.
C. Run the command export TF_DEBUG_PATH=./terraform.log.
D. No explicit action required. Terraform will take care of this as you have enable TF_LOG.
Suggested Answer: B
Explanation:
https://www.terraform.io/docs/commands/environment-variables.html
Explanation:
https://www.terraform.io/docs/commands/environment-variables.html
Posted : 14/11/2022 1:10 pm