Turn your Terraform into a diagram.
LetDraw is a Terraform diagram generator: paste your .tf files and get every resource, module, variable and output drawn with the references between them. Resources are grouped by provider, and AWS, Azure and GCP icons are one click away. What you get is an editable diagram, not a static picture.
How to use the Terraform diagram generator
From .tf files to a shareable infrastructure diagram in a minute, right in your browser.
Open Generate from Code
In LetDraw, open Generate from Code (a Pro feature) from the More menu or the command palette.
Paste your .tf files
Paste the HCL or load a .tf file. The format is detected automatically and a live preview appears.
Tune the layout
Pick a top-down or left-right layout, switch on Add icons, and hide relationship types you do not need.
Insert and share
Insert it onto the canvas, edit it like any drawing, share a link or export it as PNG, SVG or PDF.
Infrastructure as code diagrams that stay editable
LetDraw reads the resource, data, module, variable and output blocks in your HCL and turns references such as aws_vpc.main.id, var.region or depends_on into arrows. Each resource becomes a card with its type, its name and a couple of key settings, and arrows are labelled with the attribute that made the link.
- Grouped by provider, with modules, variables and outputs in their own frames
- Add icons stamps AWS, Azure and GCP product icons onto the boxes
- Drift vs last compares with your previous import: added in green, removed in red
Where a Terraform diagram generator helps
The same paste works for a single module and for a whole environment spread across providers.
Architecture reviews
Show reviewers what the code actually builds instead of walking them through file after file.
Onboarding engineers
Give new teammates one picture of the networks, databases and services an environment is made of.
Change reviews
Paste the new version and switch on Drift vs last to see which resources and links were added or removed.
Living documentation
Regenerate the diagram when the code changes and export it as SVG for your wiki or README.
Multi-cloud setups
AWS, Azure and GCP resources land in separate provider groups, so a mixed estate stays readable.
Dependency checks
See which resources read a variable or a module output before you rename or remove it.
Terraform diagram FAQ
Is LetDraw's Terraform diagram generator free?
Do I need a plan file or state?
Which clouds get product icons?
Can I edit the diagram after it is generated?
More ways to diagram from code
Your infrastructure, drawn from the code.
Open LetDraw in your browser, paste your .tf files and get a diagram you can edit. Fast, and nothing to install.