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_LOG
to one of the log levels (in order of decreasing verbosity)TRACE
,DEBUG
,INFO
,WARN
orERROR
to change the verbosity of the logs. -
Take a look at various sections under Terraform internals.
Comments