Terraform has detailed logs that can be enabled by setting the
TF_LOG environment variable to any value. This will cause detailed logs to appear on stderr.
You can set
TF_LOG to one of the log levels
ERROR to change the verbosity of the logs.
TRACE is the most verbose and it is the default if
TF_LOG is set to something other than a log level name.
On a Linux and Mac the command is:
export TF_LOG=DEBUG. To check type echo $env:TF_LOG
For Windows(Powershell) the command is:
$env:TF_LOG="DEBUG". To check type either