SuperAPI AI Directory

terravision

TerraVision is a free and open-source cloud architecture diagram generator that supports AWS, Azure, and Google Cloud. It works in two directions: generating architecture diagrams from AI prompts or JSON, and generating architecture diagrams from Terraform code. It uses official cloud icons and places each resource in the correct VPC, subnet, region, or resource group. TerraVision can be used as a Claude Desktop extension, a ChatGPT desktop app plugin, and a tool for MCP clients such as Claude Code, Codex CLI, GitHub Copilot, and Cursor. It runs entirely locally, requires no cloud access, and your code never leaves your machine.

Open website

About this tool

TerraVision is a free, open-source cloud architecture diagram generator that supports AWS, Azure, and Google Cloud. It works in two directions: from design to code (describe the architecture to an AI assistant, get a diagram, then generate Terraform) and from code to diagram (diagram what Terraform deploys).

Key capabilities:

  • Generate professional cloud architecture diagrams using official AWS, Azure, and GCP icons, with each resource placed in the correct VPC, subnet, region, or resource group.
  • Generate diagrams from AI prompts (in Claude or ChatGPT) or from JSON diagram descriptions.
  • Generate diagrams from Terraform code, based on terraform plan, so the diagram reflects what the code actually deploys (conditions, count, for_each, and modules are all resolved).
  • Generate Terraform from diagrams via the MCP server.
  • Support interactive HTML and editable draw.io output, flow annotations (YAML or AI-generated via Ollama/Bedrock), and Terragrunt.
  • Run 100% client-side, with no cloud access required, and code never leaves your local machine.

How to use:

  • Install as an extension in Claude Desktop, or as a plugin in the ChatGPT desktop app, with diagrams displayed directly in the chat.
  • Configure and use in MCP clients such as Claude Code, Codex CLI, GitHub Copilot, and Cursor.
  • Use as a command-line tool to generate diagrams from JSON or Terraform.
  • Automatically update diagrams in CI/CD via a GitHub Action.

Use cases:

  • Cloud architects and developers need to quickly visualize the architecture deployed by Terraform.
  • Draw production architecture diagrams without access to the production environment.
  • Keep architecture diagrams in sync with code in CI/CD pipelines.
  • Generate Terraform code from architecture diagrams.

Limitations:

  • Requires Graphviz and Git to be installed; drawing from Terraform requires Terraform 1.x or OpenTofu.
  • Pull requests are accepted only from invited contributors.
  • Licensed under AGPL-3.0 license.
  • Specific pricing, costs, and platform support details are not yet provided.