Skip to content

Commit

Permalink
fix: Regression for NLB container name (#291)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
adamantike and gberenice authored Oct 15, 2024
1 parent 1147833 commit ca3040f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca3040f

Please sign in to comment.