From 2f5a24ff582757473ae4b5f19d4a538266e3f8b9 Mon Sep 17 00:00:00 2001 From: Rupal Sharma Date: Thu, 1 Feb 2024 17:29:51 +0530 Subject: [PATCH 1/3] feat: Added support for custom tags --- main.tf | 1 + variables.tf | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/main.tf b/main.tf index c3a1154..3094e38 100644 --- a/main.tf +++ b/main.tf @@ -19,6 +19,7 @@ module "labels" { managedby = var.managedby label_order = var.label_order repository = var.repository + extra_tags = var.extra_tags } ##----------------------------------------------------------------------------- diff --git a/variables.tf b/variables.tf index 4d0f574..4ea7e22 100644 --- a/variables.tf +++ b/variables.tf @@ -179,3 +179,9 @@ variable "sku_name" { default = "Standard" description = "The SKU which should be used. At this time the only supported value is Standard. Defaults to Standard." } +variable "extra_tags" { +type = map(string) +default = null +description = "Variable to pass extra tags." +} + From fbab21ff484bfcc8f872c27b9414b400a4da5cb5 Mon Sep 17 00:00:00 2001 From: Rupal Sharma Date: Mon, 5 Feb 2024 15:23:26 +0530 Subject: [PATCH 2/3] feat: Added support for custom tags --- variables.tf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/variables.tf b/variables.tf index 4ea7e22..3e3ddb9 100644 --- a/variables.tf +++ b/variables.tf @@ -34,6 +34,12 @@ variable "managedby" { description = "ManagedBy, eg 'CloudDrove'." } +variable "extra_tags" { +type = map(string) +default = null +description = "Variable to pass extra tags." +} + variable "enable" { type = bool default = true @@ -179,9 +185,5 @@ variable "sku_name" { default = "Standard" description = "The SKU which should be used. At this time the only supported value is Standard. Defaults to Standard." } -variable "extra_tags" { -type = map(string) -default = null -description = "Variable to pass extra tags." -} + From 3f2cb3aa028aa607f6ab8a1eec9e18998f30f291 Mon Sep 17 00:00:00 2001 From: Rupal Sharma Date: Mon, 5 Feb 2024 16:18:32 +0530 Subject: [PATCH 3/3] feat: Added support for custom tags --- main.tf | 2 +- variables.tf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/main.tf b/main.tf index 3094e38..2579d6e 100644 --- a/main.tf +++ b/main.tf @@ -19,7 +19,7 @@ module "labels" { managedby = var.managedby label_order = var.label_order repository = var.repository - extra_tags = var.extra_tags + extra_tags = var.extra_tags } ##----------------------------------------------------------------------------- diff --git a/variables.tf b/variables.tf index 3e3ddb9..6669420 100644 --- a/variables.tf +++ b/variables.tf @@ -35,9 +35,9 @@ variable "managedby" { } variable "extra_tags" { -type = map(string) -default = null -description = "Variable to pass extra tags." + type = map(string) + default = null + description = "Variable to pass extra tags." } variable "enable" {