From 1652563c5d2e8807fdee6256d816852a3d8a6c56 Mon Sep 17 00:00:00 2001 From: Michael Manganiello Date: Mon, 14 Oct 2024 12:22:13 -0300 Subject: [PATCH] fix: Regression for NLB container name A regression was introduced in a previous commit, where the NLB container name is being set to the value of the `alb_container_name` variable, instead of using `nlb_container_name`. --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 8efe3943..659696a7 100644 --- a/main.tf +++ b/main.tf @@ -120,7 +120,7 @@ locals { target_group_arn = module.alb_ingress.target_group_arn } nlb = { - container_name = var.alb_container_name != null ? var.alb_container_name : module.this.id + container_name = var.nlb_container_name != null ? var.nlb_container_name : module.this.id container_port = var.nlb_container_port elb_name = null target_group_arn = var.nlb_ingress_target_group_arn