Terraform: General Troubleshooting Tips
Description
Some general troubleshooting tips for Terraform:
To Resolve:
-
You can view resources in state file directly.
- I talk about this in my Remove Invalid Attribute From Statefile and Remove Invalid Resources posts for example.
-
You can set
TF_LOGto one of the log levels (in order of decreasing verbosity)TRACE,DEBUG,INFO,WARNorERRORto change the verbosity of the logs. -
Take a look at various sections under Terraform internals.
Comments