Cloud architecture diagrams from a prompt or your Terraform
open sourceAGPL-3.0self-hostablefreeMCP
TerraVision is a free, open source cloud architecture diagram generator for AWS, Azure and Google Cloud that works in both directions. From Terraform, it runs terraform init, plan and graph locally and draws what the code will deploy, with modules, count, for_each and variables resolved, so it needs no access to the cloud accounts and the infrastructure doesn't have to exist yet. From a plain description in Claude, ChatGPT or another agent, its MCP server and agent skill draw the diagram from a JSON graph and can then write the Terraform for it. Diagrams use the official AWS, Azure and GCP icons, place every resource in its VPC, subnet, zone or resource group, and come out as PNG, SVG and an editable draw.io file. It runs on your own computer as a CLI, in CI/CD pipelines, as a Claude Code, Codex and Gemini CLI plugin, or in Docker.
Problems it solves
- our architecture diagram is out of date the moment someone changes the Terraform
- draw an AWS architecture diagram from our Terraform code without access to production
- generate a cloud diagram with the official AWS, Azure or GCP icons from a description
- show what this Terraform plan will deploy before anyone applies it
- regenerate architecture diagrams automatically in CI on every pull request
- ask Claude to sketch a three-tier web app on AWS and then write the Terraform for it
- get an editable draw.io file of our cloud infrastructure instead of a static picture
- group resources by VPC, subnet and availability zone in an infrastructure diagram
- document a client's Azure environment from their Terraform modules
Features
- Terraform to diagram from terraform plan, with modules, count, for_each and variables resolved
- prompt or JSON graph to diagram through an MCP server
- diagram to Terraform
- official AWS, Azure and Google Cloud icons
- VPC, subnet, zone and resource group grouping
- PNG, SVG and editable draw.io output
- runs locally with no cloud credentials
- CI/CD pipeline use
- Claude Code, Codex and Gemini CLI plugins
- Docker image
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has an MCP server | plan not known |
