Skip to content

Instantly share code, notes, and snippets.

@Integralist
Created June 14, 2022 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Integralist/a265f0d352379a8d484e65b71f7ac511 to your computer and use it in GitHub Desktop.
Save Integralist/a265f0d352379a8d484e65b71f7ac511 to your computer and use it in GitHub Desktop.
[Terraform Debugging] #terraform #debug #log

https://www.terraform.io/internals/debugging

  • TF_LOG: TRACE, DEBUG, INFO, WARN or ERROR (or JSON which is JSON formatted TRACE logs).
  • TF_LOG_CORE: only terraform logs.
  • TF_LOG_PROVIDER: only provider logs.
  • TF_LOG_PATH: set along with one of the above to ensure logs are sent to a file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment