As a Terraform repository grows, it gets hard to tell what a change to a VPC would affect. terraform graph needs Graphviz and does not check anything.

The Terraform Visualizer draws how resources, data sources and modules reference each other from pasted .tf contents. It never runs plan and works only in your browser.

Screenshot of the Terraform Visualizer

Reading the diagram

  • Lines go from the referencing block to the referenced one. If aws_subnet.app uses aws_vpc.main.id, there is a line from the subnet to the VPC
  • Dotted lines are references to data blocks, variables and locals
  • Blocks that use count or for_each get a “×count” mark
  • AWS, Google Cloud and Azure resources sit in a frame per provider and are colored by kind: database, storage, network, server and so on

Click a node to see its start line and what it references or is referenced by.

What is checked

Check What happens
Reference target not in the pasted configuration plan fails on an undeclared reference
variable that nothing references Unused settings linger
Reference cycle Terraform cannot resolve the dependency and plan fails
aws_security_group ingress 0.0.0.0/0 Allows access from the whole world
Literal value in password and similar Secrets stay in the repository and state
S3 acl = "public-read" Anyone can read the bucket
No required_providers Provider versions are not pinned

This is a mechanical check, so intended settings can be reported too.

More tools like this

There are other “paste a config and get a diagram” tools. All of them run only in your browser.

  • Docker Compose Visualizer: connections through depends_on, volumes and networks, with checks for port conflicts and plain-text passwords
  • Kubernetes Manifest Visualizer: Ingress → Service → Pod → ConfigMap / Secret connections, with checks for selector mismatches, NetworkPolicy and PDB
  • OpenAPI Visualizer: endpoints, schemas and $ref links, with unused schemas and authentication marks
  • tsconfig Visualizer: extends inheritance and references, with effective options, referenced projects without composite and overlapping include

FAQ

Does it replace terraform plan?

No. It does not run plan; it only extracts blocks and references from the text. It does not know state, variable values or module contents.

Is my configuration sent to a server?

No. It is processed only in your browser, and the text you enter is not saved either because it may contain passwords.

Summary

  • Drawing references shows the blast radius of a change by following the lines
  • Missing references, unused variables, cycles, open ingress and plain-text passwords are checked just by pasting
  • It does not run plan and does not look at state or module contents
  • Everything runs in your browser and the input is not saved