IsoDrawDocs

Share and export

Import from Terraform

Turn Terraform state or plan output into a documented diagram, with cloud icons, networks as areas and a doc for each resource.

If your infrastructure is in Terraform, you don't have to draw it. IsoDraw reads the JSON that Terraform prints and makes a diagram of it.

A diagram imported from Terraform
The Imported from Terraform (AWS) template: a small shop on ECS, generated from a state file with no manual edits.

Importing

Get the JSON

In your Terraform directory, run one of these:

terraform show -json > state.json
terraform plan -out plan.tfplan
terraform show -json plan.tfplan > plan.json

Open it

In the editor, click Open in the toolbar and choose the file, or drop it onto the editor. It works in the Playground too.

Tidy and document

The import gives you a laid-out, documented starting point. Rename things, regroup them, add what Terraform doesn't know about (users, third-party services), and write the why in the docs.

What you get

  • Components for resources, with their AWS, Google Cloud or Azure icons. Resources not in the icon catalog are drawn as plain blocks.
  • Areas from networks: VPCs and subnets, with their resources inside.
  • Connections from references between resources.
  • Docs on each component listing the resource's address, type and settings.

Other ways to import

  • AI apps: give the terraform show -json output to Claude or ChatGPT with the MCP server connected and ask for a diagram. It uses the import_terraform tool.
  • CLI: isodraw import terraform state.json --title "Production". See CLI.

Values Terraform marks as sensitive are left out of the docs, but state can hold secrets in other settings too. Read the generated docs and remove anything sensitive before sharing the diagram.