⚠️ IMPORTANT DISCLAIMER: Tools are provided "AS IS" for educational purposes only.
Always review destructive operations before applying. By using this site you agree to our Terms of Service.
A long plan hides the one line that matters: a database marked for replacement or a security group about to be destroyed. Paste the plan text or the JSON from terraform show -json, or drop the file, and get a summary by action and resource type with the destructive changes at the top.
+ means create, ~ update in place, - destroy, and -/+ (or +/- with create_before_destroy) means destroy and recreate. The last line totals it up: “Plan: 3 to add, 1 to change, 1 to destroy.” Anything to destroy deserves a second look.
You changed an attribute that the provider can’t update in place, such as a database engine, an availability zone or some names, so Terraform will delete the resource and create a new one. Check the attribute marked # forces replacement; for stateful resources that can mean data loss.
Something changed outside Terraform (drift), a provider upgrade changed defaults, or a value is computed differently each run. terraform plan -refresh-only shows the drift on its own. Add lifecycle { ignore_changes = [...] } only for attributes another system manages on purpose.
terraform plan -out=tfplan then terraform show -json tfplan > plan.json. Applying the saved file with terraform apply tfplan guarantees you apply exactly what you reviewed.
Add lifecycle { prevent_destroy = true } to resources such as databases and state buckets; any plan that would destroy them then fails. Many providers also offer deletion protection on the resource itself.
Related tools: Policy Linter (IAM) · DriftScope · Cloud VPC Planner · All tools A–Z
Most tools run entirely in your browser. Tools marked 📡 contact outside services, as listed in the Privacy Policy. Review commands before you run them; see the Terms.