diff --git a/terraform/res_network.tf b/terraform/res_network.tf index 3253bc7f6..d87d70899 100644 --- a/terraform/res_network.tf +++ b/terraform/res_network.tf @@ -1,5 +1,5 @@ locals { - vpc_cidr = "10.0.0.0/16" + vpc_cidr = module.this.stage == "prod" ? "10.0.0.0/16" : "13.0.0.0/16" vpc_azs = slice(data.aws_availability_zones.available.names, 0, 3) vpc_flow_s3_bucket_name = substr("vpc-flow-logs-${module.this.id}-${random_pet.this.id}", 0, 63) }