From 883dc4ba3a54ea1e3f20f769d658b1daa19dab73 Mon Sep 17 00:00:00 2001 From: HarmanJyot Kaur <38261508+harmanjyotkaur@users.noreply.github.com> Date: Wed, 30 Jun 2021 09:02:01 +0530 Subject: [PATCH] Tags updates (#23) * added tag type * added tag type --- main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.tf b/main.tf index 04485f5..085da8c 100644 --- a/main.tf +++ b/main.tf @@ -25,6 +25,9 @@ module "private-labels" { managedby = var.managedby label_order = var.label_order attributes = compact(concat(var.attributes, ["private"])) + extra_tags = { + Type = "private" + } } module "public-labels" { @@ -37,6 +40,9 @@ module "public-labels" { managedby = var.managedby label_order = var.label_order attributes = compact(concat(var.attributes, ["public"])) + extra_tags = { + Type = "public" + } } #Module : PUBLIC SUBNET