Skip to content

Commit

Permalink
fix: Allow for override of Name tag on load balancer (#262)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Babenko <anton@antonbabenko.com>
  • Loading branch information
mjmayer and antonbabenko authored Oct 28, 2022
1 parent eee5370 commit 40d10dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ resource "aws_lb" "this" {
}

tags = merge(
var.tags,
var.lb_tags,
{
Name = var.name != null ? var.name : var.name_prefix
Name = (var.name != null) ? var.name : var.name_prefix
},
var.tags,
var.lb_tags,
)

timeouts {
Expand Down

0 comments on commit 40d10dd

Please sign in to comment.