Reading Plan Output
What you'll learn: How to interpret Terraform's plan output symbols so you know exactly what changes will happen before you apply them.
Understanding the Plan's Language
When you run terraform plan, Terraform shows you a preview of what it intends to do. Think of it like a construction blueprint with revision marks—annotations that show what's being added, removed, or changed. The output uses specific symbols to communicate these intentions clearly.
The Three Core Symbols
+ (Plus Sign) — Create
A plus sign means Terraform will create a new resource. This resource doesn't exist yet in your infrastructure.
+ aws_instance.web_server
- (Minus Sign) — Destroy
A minus sign means Terraform will destroy an existing resource. It will be completely removed.
- aws_instance.old_server
~ (Tilde) — Modify
A tilde means Terraform will update a resource in-place. The resource already exists, but some of its properties will change without destroying it.
~ aws_instance.web_server
Reading the Full Context
Inside each resource block, you'll see detailed attribute changes:
+before an attribute = value being added-before an attribute = value being removed~before an attribute = value being changed
If you see -/+, it means Terraform must destroy and recreate the resource (called a "replace") because the change can't be done in-place.
Why This Matters
Plan output is your safety net. Before applying changes, you review exactly what will happen—preventing accidental deletions or unexpected modifications in production environments.
Key Takeaway: The symbols +, -, and ~ in Terraform plan output tell you whether resources will be created, destroyed, or modified—read them carefully before applying changes.