Terraform Logging Terraform Logging is configured using the TF_LOG environment variable. Valid logs levels DEBUG, INFO, WARN, ERROR, TRACE Enable the logs export TF_LOG="DEBUG" terraform init terraform plan Log to a file export TF_LOG_PATH="terraform.log"