From 501c7ab28493599705da8682dfb9abf63bf5abe1 Mon Sep 17 00:00:00 2001 From: Dominic Robinson <65237317+drobinson-moj@users.noreply.github.com> Date: Mon, 19 Aug 2024 13:39:02 +0100 Subject: [PATCH] DSOS-2918: planetfm: revert lb config (#7543) --- .../planetfm/locals_production.tf | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/terraform/environments/planetfm/locals_production.tf b/terraform/environments/planetfm/locals_production.tf index d15cdeaaabc..bc1382476a2 100644 --- a/terraform/environments/planetfm/locals_production.tf +++ b/terraform/environments/planetfm/locals_production.tf @@ -279,7 +279,7 @@ locals { web-3637-80 = merge(local.lbs.private.instance_target_groups.web-80, { attachments = [ { ec2_instance_name = "pd-cafm-w-36-b" }, - # { ec2_instance_name = "pd-cafm-w-37-a" }, # removing temporarily for migration test + { ec2_instance_name = "pd-cafm-w-37-a" }, ] }) web-38-80 = merge(local.lbs.private.instance_target_groups.web-80, { @@ -290,25 +290,6 @@ locals { } listeners = merge(local.lbs.private.listeners, { - http = merge(local.lbs.private.listeners.http, { - rules = { - # Temporary rule for investigation info prod migration issue - web-3637-80 = { - priority = 3637 - actions = [{ - type = "forward" - target_group_name = "web-3637-80" - }] - conditions = [{ - host_header = { - values = [ - "cafmwebx2.planetfm.service.justice.gov.uk", - ] - } - }] - } - } - }) https = merge(local.lbs.private.listeners.https, { alarm_target_group_names = [ "web-3637-80",