From 5637f4c6ace82149b6a7ffeec8db2ae7dddda5c4 Mon Sep 17 00:00:00 2001 From: robertsweetman Date: Tue, 12 Dec 2023 17:11:35 +0000 Subject: [PATCH] create fake lb and change lb commit hash --- .../planetfm/locals_development.tf | 24 +++++++++++++++++++ terraform/modules/baseline/lb.tf | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/terraform/environments/planetfm/locals_development.tf b/terraform/environments/planetfm/locals_development.tf index f789bcb8770..d89187c752f 100644 --- a/terraform/environments/planetfm/locals_development.tf +++ b/terraform/environments/planetfm/locals_development.tf @@ -4,5 +4,29 @@ locals { # baseline config development_config = { + baseline_ec2_autoscaling_groups = { + # "dev-asg" = { + + # } + } + 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 + + instance_target_groups = {} + + listeners = {} + + } + } } } + diff --git a/terraform/modules/baseline/lb.tf b/terraform/modules/baseline/lb.tf index 33f6c03608d..c12abb05ea1 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=10b4dc871150e9fa94532be6c60c35b97f55c657" + source = "git::https://github.com/ministryofjustice/modernisation-platform-terraform-loadbalancer.git?ref=e1355437c1ae24b5117063969c0b42ae0bf94779" providers = { aws.bucket-replication = aws