mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
7afef3f035
* Re-IP Loadtesting for TGW+VPN * Further restrict VPN IPs for LoadTesting * Update VPN IPs for Loadtesting
26 lines
805 B
HCL
26 lines
805 B
HCL
module "vpc" {
|
|
source = "terraform-aws-modules/vpc/aws"
|
|
version = "3.12.0"
|
|
|
|
name = "fleet-vpc"
|
|
cidr = "10.12.0.0/16"
|
|
|
|
azs = ["us-east-2a", "us-east-2b", "us-east-2c"]
|
|
private_subnets = ["10.12.1.0/24", "10.12.2.0/24", "10.12.3.0/24"]
|
|
public_subnets = ["10.12.11.0/24", "10.12.12.0/24", "10.12.13.0/24"]
|
|
database_subnets = ["10.12.21.0/24", "10.12.22.0/24", "10.12.23.0/24"]
|
|
elasticache_subnets = ["10.12.31.0/24", "10.12.32.0/24", "10.12.33.0/24"]
|
|
|
|
create_database_subnet_group = true
|
|
create_database_subnet_route_table = true
|
|
|
|
create_elasticache_subnet_group = true
|
|
create_elasticache_subnet_route_table = true
|
|
|
|
enable_vpn_gateway = false
|
|
one_nat_gateway_per_az = false
|
|
|
|
single_nat_gateway = true
|
|
enable_nat_gateway = true
|
|
}
|