Skip to content

Commit a57bdc2

Browse files
committed
Add architecture diagram to README
1 parent 8f728bc commit a57bdc2

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,68 @@ Enterprise-grade AWS Transit Gateway Terraform module with VPC attachments, cust
3434
+----------------------------------------------------------------+
3535
```
3636

37+
### Component Diagram
38+
39+
```mermaid
40+
flowchart TB
41+
subgraph TGW["Transit Gateway"]
42+
CORE["Transit Gateway\n(ASN, DNS, ECMP)"]
43+
DRT["Default Route Table"]
44+
end
45+
46+
subgraph Attachments["VPC Attachments"]
47+
VPCA["VPC A\n(Spoke)"]
48+
VPCB["VPC B\n(Spoke)"]
49+
VPCC["VPC C\n(Spoke)"]
50+
end
51+
52+
subgraph RouteTables["Custom Route Tables"]
53+
PRT["Production RT"]
54+
DRT2["Development RT"]
55+
BH["Blackhole Routes"]
56+
end
57+
58+
subgraph Sharing["Cross-Account / Cross-Region"]
59+
RAM["RAM Resource Share"]
60+
PEER["Inter-Region Peering"]
61+
end
62+
63+
subgraph Features["Capabilities"]
64+
MC["Multicast Support"]
65+
FL["Flow Logs"]
66+
end
67+
68+
VPCA --> CORE
69+
VPCB --> CORE
70+
VPCC --> CORE
71+
CORE --> DRT
72+
CORE --> PRT
73+
CORE --> DRT2
74+
PRT --> BH
75+
CORE --> RAM
76+
CORE --> PEER
77+
CORE --> MC
78+
CORE --> FL
79+
80+
style TGW fill:#FF9900,stroke:#FF9900,color:#fff
81+
style Attachments fill:#1A73E8,stroke:#1A73E8,color:#fff
82+
style RouteTables fill:#DD344C,stroke:#DD344C,color:#fff
83+
style Sharing fill:#8C4FFF,stroke:#8C4FFF,color:#fff
84+
style Features fill:#3F8624,stroke:#3F8624,color:#fff
85+
style CORE fill:#FF9900,stroke:#cc7a00,color:#fff
86+
style DRT fill:#FF9900,stroke:#cc7a00,color:#fff
87+
style VPCA fill:#1A73E8,stroke:#1459b3,color:#fff
88+
style VPCB fill:#1A73E8,stroke:#1459b3,color:#fff
89+
style VPCC fill:#1A73E8,stroke:#1459b3,color:#fff
90+
style PRT fill:#DD344C,stroke:#b02a3d,color:#fff
91+
style DRT2 fill:#DD344C,stroke:#b02a3d,color:#fff
92+
style BH fill:#DD344C,stroke:#b02a3d,color:#fff
93+
style RAM fill:#8C4FFF,stroke:#6b3dcc,color:#fff
94+
style PEER fill:#8C4FFF,stroke:#6b3dcc,color:#fff
95+
style MC fill:#3F8624,stroke:#2d6119,color:#fff
96+
style FL fill:#3F8624,stroke:#2d6119,color:#fff
97+
```
98+
3799
## Features
38100

39101
- **Transit Gateway**: Fully configurable with ASN, DNS, ECMP, and multicast support

0 commit comments

Comments
 (0)