terraform-diagrams
Generate architecture diagrams from Terraform infrastructure code.
- Parses
.tffiles to extract resources, modules, data sources, and variables across AWS, Azure, and GCP providers - Maps resource dependencies and relationships, grouping by provider and showing VPCs/VNets as containers
- Converts Terraform to Eraser DSL and renders cloud architecture diagrams via the Eraser API
- Requires network access and an Eraser API key; supports multi-provider setups and module hierarchies
Terraform Diagram Generator
Generates architecture diagrams directly from Terraform .tf files. Specializes in parsing Terraform code and visualizing infrastructure resources, modules, and their relationships.
When to Use
Activate this skill when:
- User has Terraform files (
.tf,.tfvars) and wants to visualize the infrastructure - User asks to "diagram my Terraform" or "visualize this infrastructure"
- User mentions Terraform, HCL, or infrastructure-as-code
- User wants to see the architecture of their Terraform-managed resources
How It Works
This skill generates Terraform-specific diagrams by parsing Terraform code and calling the Eraser API directly:
More from eraserlabs/eraser-io
eraser-diagrams
Generates architecture diagrams from code, infrastructure, or descriptions. Use when user asks to visualize, diagram, or document system architecture.
2.2Kaws-diagrams
Visualizes AWS infrastructure from CLI output, CloudFormation, or descriptions. Use when user has AWS resources to diagram.
762azure-diagrams
Visualizes Azure infrastructure from ARM templates, Azure CLI, or descriptions. Use when user has Azure resources to diagram.
378bicep-diagrams
Generates architecture diagrams from Azure Bicep files. Use when user has .bicep files or asks to visualize Bicep infrastructure.
305