Skip to content

Commit

Permalink
add https_external_monitoring rule group so private_web-http rules ok…
Browse files Browse the repository at this point in the history
…ay (#7666)
  • Loading branch information
robertsweetman authored Sep 2, 2024
1 parent 3e3ef00 commit b2b8903
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions terraform/environments/oasys/locals_security_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ locals {
module.ip_addresses.moj_cidr.aws_cloud_platform_vpc, # "172.20.0.0/16"
module.ip_addresses.external_cidrs.cloud_platform,
module.ip_addresses.azure_studio_hosting_public.devtest,
])
https_external_monitoring = flatten([
module.ip_addresses.mp_cidrs.non_live_eu_west_nat,
])
oracle_db = flatten([
Expand Down Expand Up @@ -46,6 +48,9 @@ locals {
module.ip_addresses.azure_studio_hosting_public.prod,
"10.0.0.0/8"
])
https_external_monitoring = flatten([
module.ip_addresses.mp_cidrs.live_eu_west_nat,
])
oracle_db = flatten([
module.ip_addresses.moj_cidr.aws_cloud_platform_vpc,
module.ip_addresses.mp_cidr[module.environment.vpc_name],
Expand Down Expand Up @@ -93,6 +98,8 @@ locals {
module.ip_addresses.external_cidrs.dtv,
module.ip_addresses.external_cidrs.nps_wales,
module.ip_addresses.external_cidrs.dxw,
])
https_external_monitoring = flatten([
module.ip_addresses.mp_cidrs.live_eu_west_nat,
])
oracle_db = flatten([
Expand Down Expand Up @@ -193,6 +200,7 @@ locals {
protocol = "tcp"
cidr_blocks = flatten([
local.security_group_cidrs.https_external,
local.security_group_cidrs.https_external_monitoring,
])
}
}
Expand Down

0 comments on commit b2b8903

Please sign in to comment.