Skip to content

Commit

Permalink
feat: Added support for extra_tags (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupalgw authored Feb 5, 2024
1 parent 5984716 commit 173b47d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module "labels" {
managedby = var.managedby
label_order = var.label_order
repository = var.repository
extra_tags = var.extra_tags
}

##-----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ variable "managedby" {
description = "ManagedBy, eg ''."
}

variable "extra_tags" {
type = map(string)
default = null
description = "Variable to pass extra tags."
}

variable "enabled" {
type = bool
description = "Set to false to prevent the module from creating any resources."
Expand Down Expand Up @@ -259,4 +265,4 @@ variable "network_acls" {
virtual_network_subnet_ids = optional(list(string)),
})
default = {}
}
}

0 comments on commit 173b47d

Please sign in to comment.