terraform-arch-mapper
Installation
SKILL.md
Terraform Arch Mapper
Overview
This skill analyzes Terraform configuration files (.tf) to extract infrastructure resources and their dependencies. It then generates a visual representation of the system architecture using Mermaid.js or PlantUML.
Capabilities
- Resource Extraction:
- Scans all
.tffiles in a directory. - Identifies provider resources (e.g.,
aws_instance,google_storage_bucket).
- Scans all
- Relationship Mapping:
- Detects dependencies between resources (e.g.,
vpc_id = aws_vpc.main.id).
- Detects dependencies between resources (e.g.,
- Diagram Generation:
- Outputs Mermaid C4 or flowchart code.
- Outputs PlantUML code.