🏗️ Terraform Plan Visualizer
Visualize terraform plan JSON output — resource change tree with create/update/destroy/replace badges and attribute diff
Tip: run terraform show -json plan.tfplan and paste the result here.
About this tool
The Terraform Plan Visualizer turns the JSON output of terraform show -json plan.tfplan into an interactive tree of resource changes. Instead of scanning through walls of text, you see every resource grouped by provider and type, with colour-coded badges for create (green), update (yellow), destroy (red), and replace (orange) actions.
For updates and replacements, the tool shows a side-by-side attribute diff so you can verify every field change before applying. Sensitive attributes (marked sensitive in your Terraform config) are flagged but their values are never shown — just like in the plan output itself.
Example: paste a plan that adds an aws_s3_bucket, modifies a aws_security_group rule, and destroys a google_compute_instance — the tree organises these under their providers (hashicorp/aws, hashicorp/google) and resource types, with the security group showing exactly which ingress rule changed.
FAQ
How do I get the JSON plan output? ›
Run <code>terraform plan -out=plan.tfplan</code> followed by <code>terraform show -json plan.tfplan</code>. The second command prints JSON to stdout — copy the entire output and paste it into the tool.
What does "replace" mean? ›
A replace (create+delete) happens when Terraform cannot update a resource in place — for example, changing an immutable attribute like an EC2 instance AMI. The tool shows it as a single orange "Replace" badge, and the diff compares the old resource attributes against the new ones.
Why are some attributes missing from the diff? ›
Terraform plans only include attributes that are known before apply. Computed values that are not known until creation (marked as <code>after_unknown</code>) are omitted — the tool shows only attributes with concrete before/after values.
Can I use this for Terragrunt or OpenTofu plans? ›
Yes — both Terragrunt and OpenTofu produce standard Terraform-format plan JSON. As long as the JSON has a <code>resource_changes</code> array, the tool can parse it.