https://www.terraform.io/internals/debugging Terraform support logging to file and controlling log verbosity using environment variables. Allow them to be controlled/enabled by python.