docs icon indicating copy to clipboard operation
docs copied to clipboard

Document Terraform Triage Tip

Open osterman opened this issue 7 years ago • 1 comments

what

  • This environment variable isn't in the documentation, but can get you around some annoying errors when destroying resources.
export TF_WARN_OUTPUT_ERRORS=1
  • Set TF_LOG=DEBUG to get more useful info

why

It converts the errors that would normally halt the destruction of resources from a module into warnings and therefore allows you to complete the destruction of a TF template

references

  • https://www.terraform.io/docs/internals/debugging.html

osterman avatar Aug 09 '18 16:08 osterman

@Jamie-BitFlight what state does it leave terraform in? Does terraform believe it destroyed them or it leaves them in the state file?

osterman avatar Aug 09 '18 16:08 osterman