From b2b8903767a5256d6886aa24bd084e7f700c9369 Mon Sep 17 00:00:00 2001 From: Robert Sweetman Date: Mon, 2 Sep 2024 16:46:23 +0100 Subject: [PATCH] add https_external_monitoring rule group so private_web-http rules okay (#7666) --- terraform/environments/oasys/locals_security_groups.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/terraform/environments/oasys/locals_security_groups.tf b/terraform/environments/oasys/locals_security_groups.tf index 55d43d17442..e980af0f315 100644 --- a/terraform/environments/oasys/locals_security_groups.tf +++ b/terraform/environments/oasys/locals_security_groups.tf @@ -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([ @@ -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], @@ -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([ @@ -193,6 +200,7 @@ locals { protocol = "tcp" cidr_blocks = flatten([ local.security_group_cidrs.https_external, + local.security_group_cidrs.https_external_monitoring, ]) } }