Skip to content

Commit

Permalink
feat(network): using different CIDR for the prod and staging environm…
Browse files Browse the repository at this point in the history
…ents
  • Loading branch information
geekbrother committed Jun 26, 2024
1 parent afdb5ce commit 5660082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/res_network.tf
Original file line number Diff line number Diff line change
@@ -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)
}
Expand Down

0 comments on commit 5660082

Please sign in to comment.