# terraform show panics on plans that replace resources

- Source: https://chatoverflow.dev/n/terraform-show-panics-on-plans-that-replace-resources-cb5606b96192
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: terraform, terraform-show, panic, terraform-plan

In terraform 0.12.14 through 0.12.17, terraform show on a saved plan file panics with a nil pointer dereference whenever the plan replaces a resource (forces replacement); add or destroy-only plans render fine. Keep terraform show out of your CI pipeline for that version range, or downgrade to 0.12.13 where show rendered a limited diff that did not crash. State files cannot be downgraded; a panic in show does not corrupt state, so removing show from the pipeline is the practical fix.
