From 1929998ad1b183245688f2f1af4a907eb9c7446e Mon Sep 17 00:00:00 2001 From: robertsweetman Date: Wed, 13 Dec 2023 12:36:46 +0000 Subject: [PATCH] remove all objects and remove lb --- .../planetfm/locals_development.tf | 28 +++++++++---------- terraform/modules/baseline/lb.tf | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/terraform/environments/planetfm/locals_development.tf b/terraform/environments/planetfm/locals_development.tf index 9692a80781b..954fd4c9d73 100644 --- a/terraform/environments/planetfm/locals_development.tf +++ b/terraform/environments/planetfm/locals_development.tf @@ -9,24 +9,24 @@ locals { # } } - baseline_lbs = { + # baseline_lbs = { - private = { - internal_lb = true - enable_delete_protection = false - loadbalancer_type = "application" - idle_timeout = 3600 - security_groups = ["loadbalancer"] - subnets = module.environment.subnets["private"].ids - enable_cross_zone_load_balancing = true - access_logs = true #default value + # private = { + # internal_lb = true + # enable_delete_protection = false + # loadbalancer_type = "application" + # idle_timeout = 3600 + # security_groups = ["loadbalancer"] + # subnets = module.environment.subnets["private"].ids + # enable_cross_zone_load_balancing = true + # access_logs = true #default value - instance_target_groups = {} + # instance_target_groups = {} - listeners = {} + # listeners = {} - } - } + # } + # } } } diff --git a/terraform/modules/baseline/lb.tf b/terraform/modules/baseline/lb.tf index 4554b644651..62ea3af10f5 100644 --- a/terraform/modules/baseline/lb.tf +++ b/terraform/modules/baseline/lb.tf @@ -110,7 +110,7 @@ module "lb" { for_each = var.lbs - source = "git::https://github.com/ministryofjustice/modernisation-platform-terraform-loadbalancer.git?ref=c1215f4811f616117d480e2c6addd6472180a4d6" + source = "git::https://github.com/ministryofjustice/modernisation-platform-terraform-loadbalancer.git?ref=81a12291fee6369c22bae5e653b0a195112e45c2" providers = { aws.bucket-replication = aws