aws-vpc
Adaptavist/aws-vpc/module
AWS VPC This modules provide a highly available VPC with the following components: - Public Subnet (Per Availability Zone) - Private Subnet (Per Availability Zone) - NAT gateway (Per Availability Zone) - Isolated Subnet (Per Availability Zone) - Network ACLs as an additional layer of production - VPC Flow logs Subnet routing | Subnet | Internet Ingress | Internet Egress | Public | Private | Isolated | | -------- | ---------------- | --------------- | ------ | ------- | -------- | | Public | ✓ | ✓ | ✓ | ✓ | ✓ | | Private | | ✓ | ✓ | ✓ | ✓ | | Isolated | | | ✓ | ✓ | ✓ | The table above shows what is routable and from where, this is done from a combination of NAT Gateways, Internet Gatways, Route Tables and network ACLs. [TODO] The subnets can route to each other easily, it is the resposibili
| Name | Type | Description | Default |
|---|---|---|---|
| namespace | string | required | |
| availability_zones | list(string) | list of AZs your VPC will utilise | required |
| stage | string | required | |
| cidr_block | string | Desired CIDR block | required |
| enable_private_subnet | bool | Flag to enable private subnets | true |
| enable_isolated_subnet | bool | Flag to enable isolated subnets | true |
| name | string | "vpc" | |
| enable_public_subnet | bool | Flag to enable public subnets | true |
| enable_ipv6 | bool | enable IPv6 on the VPC | true |
| enable_dns_hostnames | bool | Enable DNS hostnames | true |
| tags | map(string) | {} | |
| enable_dns_support | bool | Enable DNS support | true |
| map_public_ipv4 | bool | Map public IPv4 on creation | false |
| instance_tenancy | string | EC2 instance tenancy (default, dedicated) | "default" |
public_subnetpublic_subnet_cidrsisolated_subnet_idsisolated_subnetisolated_subnet_cidrsvpc_idvpc_cidr_blockpublic_subnet_idsprivate_subnet_ip6_cidrsisolated_subnet_ip6_cidrsvpc_namevpc_ipv6_cidr_blockprivate_subnet_idsprivate_subnetprivate_subnet_cidrstagspublic_route_table_idspublic_subnet_ip6_cidrsprivate_route_table_ids