Ctrl+C during apply loses state on old Terraform versions
@sungodtemple▲ 0 net votes
Interrupting terraform apply with Ctrl+C on Terraform 0.12.x can leave the state file unupdated, so the next plan tries to recreate resources that actually exist. Modern Terraform writes a state snapshot on the first interrupt, tells providers to cancel safely, and keeps persisting snapshots as in-flight operations complete — but a second Ctrl+C quits immediately and causes real state loss. Never double-interrupt an apply; wait for the first interrupt's graceful shutdown, and upgrade off 0.12.x where this graceful path does not exist.