Terraform Plan Explorer
Turn a terraform plan into grouped create/update/destroy diffs and PR-ready Markdown.
Plan output
Grouped changes
Paste a terraform plan to explore it
Text plans and terraform show -json output are supported.
Terraform Plan Explorer parses the linear output of `terraform plan` (or a `terraform show -json` document) into a navigable model: each resource becomes a row with its module path, action and attribute-level old/new values. Counts are reconciled against the Plan: summary line, drift hints and forced-replacement reasons are surfaced, and the whole result can be exported as Markdown for a pull request. Parsing is local and nothing is uploaded.
# aws_instance.web will be created
+ resource "aws_instance" "web" {
+ ami = "ami-12345"
}
Plan: 1 to add, 0 to change, 0 to destroy.The resource appears under create with its ami attribute and the declared count is reconciled.
# aws_db_instance.main will be updated in-place ~ instance_class = "db.t3.micro" -> "db.t3.small"
The diff table shows the old and new values side by side under the update group.
~ ami = "ami-old" -> "ami-new" # forces replacement
The attribute is marked and the replacement reason is added to the resource detail.
Examples
Create
# aws_instance.web will be createdcreate group with aws_instance.webThe header phrase sets the action and the resource header is kept verbatim for search.
Update
~ instance_class = "db.t3.micro" -> "db.t3.small"Old and new columns in the diff tableArrow-separated values are split into old and new readings.
Replacement
~ ami = "a" -> "b" # forces replacementReplacement reason on the resourceForced replacements are highlighted in the attribute table and the Markdown export.
About this tool
Terraform Plan Explorer reorganizes linear `terraform plan` output into a grouped, searchable diff. Each resource carries its address, module path, action and per-attribute old/new values, including map keys added or removed inside nested blocks.
The summary bar counts creates, updates, destroys, replacements and reads, then reconciles them against the `Plan:` line printed by Terraform. Drift hints and `# forces replacement` annotations are surfaced so a reviewer can see why a resource is being recreated.
Both human-readable plan output and `terraform show -json` documents are accepted. The Markdown export produces a summary table and per-resource bullets suitable for a pull request. Parsing happens entirely in your browser; plan text is never uploaded.
What this tool does not do
- Only standard plan header phrases and attribute lines are recognized; vendor-specific prefixes may be skipped.
- JSON support covers the resource_changes array; configuration and prior-state sections are not rendered.
- Multi-line block diffs are flattened into their key/value lines rather than reconstructed as nested objects.
- No Terraform binary, provider schema or cost data is consulted; nothing is validated against real infrastructure.
- Input stays in the tab and is not persisted; copy or download the Markdown before closing the page.
How to use this tool
Paste a plan
Copy the output of terraform plan (or terraform show -json) into the input panel, or load a sample chip.
Review the summary
Check the action counts and the reconciliation warning if they disagree with the Plan: line.
Filter resources
Search by address substring or restrict the list to a single action.
Inspect a diff
Click a resource to see its attribute table with old and new values and replacement reasons.
Export
Switch to Markdown to review the PR-ready summary, then copy or download terraform-plan.md.
Use cases
PR reviews
Attach a compact Markdown summary of infrastructure changes to a pull request.
Change approval
Filter to destroy or replace actions to focus on risky operations.
Drift triage
Spot resources that changed outside Terraform from the plan's has-changed lines.
JSON pipelines
Paste terraform show -json from CI and inspect actions without a local Terraform install.
Plan input and parsed model
| Element | Meaning |
|---|---|
| # address will be … | Resource header with action phrase: create, update in-place, destroy, replace or read |
| + / ~ / - / -/+ lines | Attribute marker for added, changed, removed or replacement values |
| old -> new | In-place value transition within an attribute line |
| # forces replacement | Reason captured on the attribute and the resource |
| Plan: n to add, … | Declared totals reconciled against parsed resource counts |
| resource_changes[] | JSON plan input interpreted into the same resource model |
Module indices such as module.web[0] are preserved in the address and module path.
Common mistakes
Mistake:Treating the Plan: totals as authoritative.
Fix:The explorer derives counts from parsed resources and warns when the declared totals disagree.
Mistake:Reading -/+ as two resources.
Fix:It is one replacement action, counted as replace rather than create plus destroy.
Mistake:Assuming sensitive values are hidden by the tool.
Fix:The explorer only shows what the plan contains; redact plans before pasting if they might include secrets.
Mistake:Pasting terraform apply output instead of a plan.
Fix:Apply logs do not contain the resource headers this scanner needs; use the plan output or JSON form.
Mistake:Expecting cost estimates.
Fix:Cost estimation is out of scope; use a dedicated cost tool for pricing data.
Frequently asked questions
What do the +, -, ~ and -/+ symbols mean?
+ adds a value or resource, - removes one, ~ changes an existing value in place, and -/+ marks a replacement (a destroy and create of the same resource). The explorer groups -/+ under replace rather than counting it twice.
Why does a resource force replacement?
Some attributes cannot be updated in place — changing ami, instance_class or a name often requires a new object. When the plan annotates a line with # forces replacement, the explorer records that reason on the attribute and in the resource detail and Markdown export.
Can it read terraform show -json plans?
Yes. Paste a JSON document containing resource_changes and the explorer maps its change actions, before/after values and replace_paths into the same grouped model as a text plan.
Are sensitive values shown?
Only what your plan contains. If Terraform printed a value in clear text, the explorer will show it; if it printed (sensitive value), that is what appears. Redact plans before pasting if they may contain secrets — nothing is uploaded, but the text stays in your browser session.
Does it need Terraform installed?
No. This is a parser for plan output that runs in your browser. Generate the plan locally or in CI, then paste the text or JSON here.
Why do the counts disagree with the Plan: line?
The explorer counts parsed resource headers; Terraform's totals can include refresh-only or no-op noise. A warning is shown when the two disagree so you can inspect the raw plan before approving it.
References & standards
Related tools
.env Secret Safety Linter
Validate .env syntax and spot likely leaked credentials or placeholder secrets.
.gitattributes Generator
Build .gitattributes rules for line endings, Git LFS, GitHub linguist marks and merge drivers — with a one-line explanation for every rule.
.htaccess Generator
Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth
2D Fluid Dynamics & Particle Physics Sandbox
A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.
A/B Test Sample Size Calculator
Compute required sample size per variant and test duration from baseline conversion rate, minimum detectable effect, alpha and power.
ABA Routing Number Validator
Validate 9-digit US ABA routing numbers with 3-7-1 Mod-10 breakdown.