docs
docs copied to clipboard
Document Terraform Triage Tip
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=DEBUGto 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
@Jamie-BitFlight what state does it leave terraform in? Does terraform believe it destroyed them or it leaves them in the state file?