AI
Terraform Diagram Generator
Brought to you by the folks at

How to generate an AI Terraforom diagram

Step-by-step guide on generating an Terraform diagram

  1. Paste Terraform code – either from .tf files (config file) or a .tfstate file (state file) – into the prompt field.
  2. Generate a diagram with the pasted prompt.
  3. Edit the diagram with follow-up prompts (this step requires signing in to Eraser).
  4. Manually adjust the layout using GUI controls (this step requires signing into Eraser).

Tips on generating an Terraform diagram

  • If you are using .tf files, you will likely have several .tf files in your project. Copy and paste from each file so that the AI diagram generator is given the full context of the project. Depending on the number of your .tf files, it may be easier to use a script to concatenate all of your files into one.

Trusted by leading architecture teams globally

FAQs

How do I get started?
Try one of our presets. Select an option under "Load a preset" and click "Generate Diagram". You can also browse our use case video library for more inspiration.
Can I edit my diagram?
Yes, the diagrams can be edited in Eraser, a docs and diagram tools built for engineering teams. Click on "Save and Edit Diagram". In Eraser, the diagrams can be edited using Eraser's diagram-as-code syntax.
Who made this and what is Eraser?
DiagramGPT was created by the team at Eraser, leveraging OpenAI's GPT-4. Eraser (eraser.io) is a whiteboard for engineering teams. You can edit your DiagramGPT generated diagrams using Eraser.
How can I share feedback?
We'd love to hear from you. Reach out to us at [email protected], on Twitter (@eraserlabs), or join our Slack community.
What types of diagrams can it draw?
4 types are currently available – flow charts, entity relationship diagrams, cloud architecture diagrams, and sequence diagrams.
Is there an API?
Yes, you can read our API documentation here. Due to LLM costs, the API is only available to Professional Plan teams.
Will my data be used for LLM training?
No. OpenAI nor Eraser will use your data to train AI models. Eraser may analyze your usage to improve and enhance our AI feature.
What's next?
It only gets better from here. We're working to improve accuracy and layout customization. If there's something you'd really like to see, drop us a note at [email protected].