Terraform Logging

IrreplaceableSugilite avatar
IrreplaceableSugilite
·
·
Download

Start Quiz

Study Flashcards

5 Questions

Which environment variable can be set to enable detailed logs in Terraform?

TF_LOG

What are the available log levels in Terraform, in order of decreasing verbosity?

TRACE, DEBUG, INFO, WARN, ERROR

When TF_LOG is set to JSON, at what log level are the logs outputted?

TRACE

Which environment variables can be used to enable logging separately for terraform itself and the provider plugins?

TF_LOG_CORE and TF_LOG_PROVIDER

What environment variable can be set to persist logged output in a specific file when logging is enabled?

TF_LOG_PATH

Test your knowledge on enabling and managing detailed logs in Terraform using the TF_LOG environment variable. Learn about log levels, verbosity, and JSON output.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser