AtMem AI Architect
Go from diagram to design.
Discuss your architecture, compare choices, and build your next project.
How to convert Terraform to a diagram
- Paste your configuration or choose files from one Terraform root module.
- Select Generate diagram to extract resources and explicit references.
- Download an SVG for documentation, Mermaid for editing, or JSON for automation.
For CloudFormation or Docker Compose, choose one JSON or YAML document. Use an example to see the supported relationships.
Which formats work?
- Terraform and OpenTofu configuration: HCL resource, data and module blocks, plus Terraform JSON configuration.
- CloudFormation: JSON or YAML resources with Ref, GetAtt, Sub and DependsOn relationships.
- Docker Compose: YAML or JSON services with depends_on, links and service namespace references.
This tool does not accept Terraform state/plan files, Kubernetes manifests, Bicep or Pulumi programs.
For agents and automation
Use the same converter locally from JavaScript. No account, API key or hosted conversion request is needed.
Read agent instructions →
Machine-readable tool manifest · Download converter
const graph = convertInfrastructure(source, 'auto');
const svg = toSVG(graph);
const mermaid = toMermaid(graph);
Does my infrastructure leave my device?
No. Files and pasted code are processed locally and are not uploaded or saved by this tool. Standard site page-view analytics never include your code.
What can the diagram tell me?
It shows static references, not a Terraform validation or cloud plan. Modules stay as single nodes. Variables, locals, conditions and resource counts are not evaluated. Missing or unsupported relationships are disclosed.
Resource names and types appear in your downloads. Review diagrams before sharing them.