Skip to content

Commit ca3040f

Browse files
fix: Regression for NLB container name (#291)
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`. Co-authored-by: Veronika Gnilitska <30597968+gberenice@users.noreply.github.com>
1 parent 1147833 commit ca3040f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ locals {
120120
target_group_arn = module.alb_ingress.target_group_arn
121121
}
122122
nlb = {
123-
container_name = var.alb_container_name != null ? var.alb_container_name : module.this.id
123+
container_name = var.nlb_container_name != null ? var.nlb_container_name : module.this.id
124124
container_port = var.nlb_container_port
125125
elb_name = null
126126
target_group_arn = var.nlb_ingress_target_group_arn

0 commit comments

Comments
 (0)