Inspect one resource nested inside a module.
Section: State Repair
Inspect module resource
bash
bash
terraform state show module.vpc.aws_vpc.thisExplanation
Inspect one resource nested inside a module.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing State Repair
Remove one indexed instance
Remove a single indexed or keyed instance from state.
Enable TRACE logs
Turn on maximum logging detail for hard-to-diagnose issues.
Legacy 0.13 upgrade helper
Legacy helper command that updated provider source declarations in Terraform 0.13.
Detect and record drift
Refresh state from real infrastructure without proposing config changes.
Write debug log to file
Capture debug logs into a file for later analysis.