From 40d10dd54c8f4091bdc65f86e5c54e422951101e Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Fri, 28 Oct 2022 05:38:10 -0700 Subject: [PATCH] fix: Allow for override of Name tag on load balancer (#262) Co-authored-by: Anton Babenko --- main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index 9cbc49e..de2e061 100644 --- a/main.tf +++ b/main.tf @@ -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 {