terraform-diagrams

Installation
Summary

Generate architecture diagrams from Terraform infrastructure code.

  • Parses .tf files 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
SKILL.md

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:

Related skills
Installs
450
GitHub Stars
21
First Seen
Jan 27, 2026