From ce966597242e510e43e2ac4bc8e6450763fdbce5 Mon Sep 17 00:00:00 2001 From: nitrocode <7775707+nitrocode@users.noreply.github.com> Date: Mon, 15 Aug 2022 22:55:58 -0400 Subject: [PATCH] Use context tags (#65) --- main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index a93aa8e..204f326 100644 --- a/main.tf +++ b/main.tf @@ -16,7 +16,6 @@ resource "aws_lb_target_group" "default" { protocol = var.protocol protocol_version = var.protocol_version slow_start = var.slow_start - tags = var.tags target_type = var.target_type vpc_id = var.vpc_id @@ -42,6 +41,8 @@ resource "aws_lb_target_group" "default" { matcher = var.health_check_matcher } + tags = module.this.tags + lifecycle { create_before_destroy = true }