Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 173b47d

Browse files
authoredFeb 5, 2024
feat: Added support for extra_tags (#26)
1 parent 5984716 commit 173b47d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
 

‎main.tf

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module "labels" {
2323
managedby = var.managedby
2424
label_order = var.label_order
2525
repository = var.repository
26+
extra_tags = var.extra_tags
2627
}
2728

2829
##-----------------------------------------------------------------------------

‎variables.tf

+7-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ variable "managedby" {
3030
description = "ManagedBy, eg ''."
3131
}
3232

33+
variable "extra_tags" {
34+
type = map(string)
35+
default = null
36+
description = "Variable to pass extra tags."
37+
}
38+
3339
variable "enabled" {
3440
type = bool
3541
description = "Set to false to prevent the module from creating any resources."
@@ -259,4 +265,4 @@ variable "network_acls" {
259265
virtual_network_subnet_ids = optional(list(string)),
260266
})
261267
default = {}
262-
}
268+
}

0 commit comments

Comments
 (0)
Please sign in to comment.