Skip to content

Commit

Permalink
Increase the width of the allowed IP netmask
Browse files Browse the repository at this point in the history
* Add note for future work
  • Loading branch information
hellais committed Jan 15, 2025
1 parent 8ff2345 commit a4df831
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tf/environments/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,11 @@ module "oonipg" {
db_allocated_storage = "50"
db_max_allocated_storage = null

allow_cidr_blocks = module.network.vpc_subnet_private[*].cidr_block
# TODO: fix this to further restrict to only our subnets
# In order to do this we need to change the launch template of the ECS service
# to deploy them specifically inside of the two allocated subnets as opposed
# to picking a random IP in side of the full /8
allow_cidr_blocks = ["10.0.0.0/8"]
allow_security_groups = []

tags = merge(
Expand Down

0 comments on commit a4df831

Please sign in to comment.