Infragram
C4 inspired interactive architecture diagrams for terraform configuration.
Note: This is an early preview and works for single-state view. Support for multi-state view is in the works. Works best with terraform >= v0.14
Features
- Architecture diagram for terraform configuration
- Zoom in/out of elements to see different levels of abstraction in your architecture
- Incremental parsing to generate diagram for work-in-progress code
- Resolves references and variables to establish relationships in the diagram
- Navigate between diagram and source code in the editor
- Visual diff for terraform plan
- Supports submodules
- Icon catalog for AWS, Google Cloud and Azure
Usage
-
Render architecture diagram for terraform configuration in the current repository
-
Generate terraform plan and renders diff visualization for the plan
-
Pan and focus to current resource in the diagram
Diagram Context menu -> Expand/Collpase
Expand or collapse hierarchical nodes to show/hide child nodes
-
Navigate to source code definition for the selected node
Troubleshooting
- Requires terraform v0.14 or above. May work in limited capacity for older versions.
- If you have module dependencies, ensure the dependencies are fetched using
terraform init so that the module details are also rendered in the diagram.
| |