You can configure Terraform to log to a file by setting the TF_LOG_PATH environment variable. When this variable is set, Terraform will write its log output to the specified file.
This is a badly worded question...
Terraform has detailed logs that you can enable by setting the TF_LOG environment variable to any value. Enabling this setting causes detailed logs to appear on stderr.
To persist logged output you can set TF_LOG_PATH in order to force the log to always be appended to a specific file when logging is enabled. Note that even when TF_LOG_PATH is set, TF_LOG must be set in order for any logging to be enabled.
So, TF_LOG_PATH sets the directory itself, but it will not output anything unless TF_LOG is set.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
J_boy
Highly Voted 9 months agokyochan
Most Recent 7 months, 1 week ago6957dbd
8 months, 2 weeks ago