Terraform Diagrams

🌐Community
by eraserlabs · vlatest · Repository

Visualize your Terraform state files as clear, interactive diagrams to understand and troubleshoot cloud infrastructure.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add terraform-diagrams npx -- -y @trustedskills/terraform-diagrams
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "terraform-diagrams": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/terraform-diagrams"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The terraform-diagrams skill generates visual diagrams from Terraform code. It automatically creates a representation of your infrastructure, showing resources and dependencies in an easy-to-understand format. This helps with understanding complex deployments and communicating infrastructure architecture effectively.

When to use it

  • Documenting existing infrastructure: Quickly create diagrams for Terraform projects you've inherited or haven’t worked on recently.
  • Onboarding new team members: Provide a visual overview of the infrastructure, accelerating their understanding.
  • Communicating architectural decisions: Share clear and concise diagrams with stakeholders to explain your infrastructure design.
  • Troubleshooting complex deployments: Visualize dependencies to identify potential bottlenecks or points of failure.

Key capabilities

  • Generates diagrams from Terraform code.
  • Visualizes resources and their dependencies.
  • Provides a clear representation of infrastructure architecture.

Example prompts

  • "Generate a diagram for my terraform project located at /path/to/main.tf."
  • "Create a visual overview of the infrastructure defined in infrastructure/aws/ec2.tf."
  • "Show me a diagram of all resources and their dependencies in this Terraform configuration."

Tips & gotchas

The skill requires access to your Terraform code files. Ensure the AI agent has appropriate permissions to read these files for accurate diagram generation.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
eraserlabs
Installs
0

🌐 Community

Passed automated security scans.