Podcast
Questions and Answers
Which environment variable can be set to enable detailed logs in Terraform?
Which environment variable can be set to enable detailed logs in Terraform?
- TF_DEBUG
- TF_LOG_ENABLED
- TF_LOG (correct)
- TF_LOG_LEVEL
What are the available log levels in Terraform, in order of decreasing verbosity?
What are the available log levels in Terraform, in order of decreasing verbosity?
- ERROR, WARN, INFO, DEBUG, TRACE
- INFO, DEBUG, TRACE, WARN, ERROR
- DEBUG, TRACE, INFO, WARN, ERROR
- TRACE, DEBUG, INFO, WARN, ERROR (correct)
When TF_LOG is set to JSON, at what log level are the logs outputted?
When TF_LOG is set to JSON, at what log level are the logs outputted?
- WARN
- DEBUG
- INFO
- TRACE (correct)
Which environment variables can be used to enable logging separately for terraform itself and the provider plugins?
Which environment variables can be used to enable logging separately for terraform itself and the provider plugins?
What environment variable can be set to persist logged output in a specific file when logging is enabled?
What environment variable can be set to persist logged output in a specific file when logging is enabled?