How cloudposse/terraform-aws-vpc works
Main Components
a. Core VPC Components:
• VPC (Primary Container)
• Internet Gateway
• IPv6 Egress-Only Internet Gateway (Optional)
• Default Network ACL
• Default Route Table
• Default Security Group
b. Network Components:
• IPv4 CIDR Blocks (Primary and Additional)
• IPv6 CIDR Blocks (Optional)
• IPAM Integration (Optional)
┌─────────────────────────────────── AWS Region ───────────────────────────────────┐
• ┌────────────────────────────────── VPC ─────────────────────────────────┐ │
• ┌─────────────────┐ ┌────────────────┐ ┌────────────────────┐ │ │
• Primary CIDR │ │ Additional │ │ IPv6 CIDR Blocks │ │ │
• Block │ │ CIDR Blocks │ │ (Optional) │ │ │
• ┘ └────────────────┘ └────────────────────┘ │ │
• ┌─────────────────┐ ┌────────────────┐ ┌────────────────────┐ │ │
• Default │ │ Default │ │ Default Security │ │ │
• Network ACL │ │ Route Table │ │ Group │ │ │
• ┘ └────────────────┘ └────────────────────┘ │ │
• ┌─────────────────┐ ┌────────────────────────┐ │
• Internet │ │ IPv6 Egress-Only │ │
• Gateway │ │ Internet Gateway │ │
• ┘ └────────────────────────┘ │
• ┘
Metadata Section
A section showing:
• VPC ID
• Region
• Environment tags
• Other relevant tags
• Nested containers
• Different line styles
• Export to common formats