Skip to content

Commit

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

##-----------------------------------------------------------------------------
Expand Down
8 changes: 8 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -179,3 +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."
}


0 comments on commit 0c6c3f0

Please sign in to comment.