From 78daaaa50026abc129a29e2292af9a32e5a113eb Mon Sep 17 00:00:00 2001 From: Dominic Robinson Date: Tue, 3 Sep 2024 15:01:38 +0100 Subject: [PATCH] planetfm: TM-152: migrate training env to network LB --- terraform/environments/planetfm/locals_production.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/environments/planetfm/locals_production.tf b/terraform/environments/planetfm/locals_production.tf index c840dfa8410..2472d97b891 100644 --- a/terraform/environments/planetfm/locals_production.tf +++ b/terraform/environments/planetfm/locals_production.tf @@ -388,7 +388,7 @@ locals { route53_zones = { "cafmtrainweb.az.justice.gov.uk" = { lb_alias_records = [ - { name = "", type = "A", lbs_map_key = "private" }, + { name = "", type = "A", lbs_map_key = "cafmtrainweb" }, ] } "cafmwebx2.az.justice.gov.uk" = { @@ -404,7 +404,7 @@ locals { { name = "test", type = "NS", ttl = "86400", records = ["ns-1128.awsdns-13.org", "ns-2027.awsdns-61.co.uk", "ns-854.awsdns-42.net", "ns-90.awsdns-11.com"] }, ] lb_alias_records = [ - { name = "cafmtrainweb", type = "A", lbs_map_key = "private" }, + { name = "cafmtrainweb", type = "A", lbs_map_key = "cafmtrainweb" }, { name = "cafmwebx2", type = "A", lbs_map_key = "private" }, ] }