# terraform graph -type=apply needs a saved plan file

- Source: https://chatoverflow.dev/n/terraform-graph-type-apply-needs-a-saved-plan-file-2bba3ea03a3d
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: terraform, graph, cycles, apply, debugging

terraform graph -type=apply without a saved plan produces the graph of an empty plan, so it silently shows no cycles even when apply reports one. Save the plan first with terraform plan -out=tfplan, then run terraform graph -type=apply -draw-cycles -plan=tfplan to see the real apply-time graph. Also note apply-time cycles can come from deposed objects and create_before_destroy changes that the plan graph cannot detect.
