From 6a13f440cd0fdb870523343d81518b55c404bb68 Mon Sep 17 00:00:00 2001 From: robertsweetman Date: Wed, 13 Dec 2023 17:05:43 +0000 Subject: [PATCH] delete test ALB --- .../planetfm/locals_development.tf | 35 ++++++++----------- terraform/modules/baseline/lb.tf | 2 +- 2 files changed, 16 insertions(+), 21 deletions(-) diff --git a/terraform/environments/planetfm/locals_development.tf b/terraform/environments/planetfm/locals_development.tf index c300badd85c..3ceb6314c44 100644 --- a/terraform/environments/planetfm/locals_development.tf +++ b/terraform/environments/planetfm/locals_development.tf @@ -4,30 +4,25 @@ locals { # baseline config development_config = { - baseline_ec2_autoscaling_groups = { - # "dev-asg" = { + # 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 + # log_schedule = "cron(0 * * * ? *)" - 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 - log_schedule = "cron(0 * * * ? *)" + # instance_target_groups = {} - instance_target_groups = {} + # listeners = {} - listeners = {} - - } - } + # } + # } } } diff --git a/terraform/modules/baseline/lb.tf b/terraform/modules/baseline/lb.tf index 3401305d239..f97e0545eb1 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=6749ab0591cd4c7ff8956ccfaf67e69cfd575cd9" + source = "git::https://github.com/ministryofjustice/modernisation-platform-terraform-loadbalancer.git?ref=191b438ff88b9fb9553e7ead80b84b21920b9f77" providers = { aws.bucket-replication = aws