How to log/debug in Terraform 2022-05-31 35 words - 1 min read If you have Terraform reporting an error but want more information, then you can configure debug logging. How to configure Bash 1 2 export TF_LOG="TRACE" export TF_LOG_PATH="terraform.txt" How to configure PowerShell 1 2 $env:TF_LOG="TRACE" $env:TF_LOG_PATH="terraform.txt"