From 83203c92577bedf568e34642ba97001be2ca8b34 Mon Sep 17 00:00:00 2001 From: Rafal Pieniazek Date: Mon, 1 Jul 2024 16:36:30 +0200 Subject: [PATCH] Update main.tf Adds ability to provide custom ALB tags --- main.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 96cc128f..ceae98f0 100644 --- a/main.tf +++ b/main.tf @@ -156,7 +156,10 @@ module "alb" { associate_web_acl = try(var.alb.associate_web_acl, false) web_acl_arn = try(var.alb.web_acl_arn, null) - tags = var.tags + tags = merge( + try(var.alb.tags, null), + var.tags + ) } ################################################################################