Skip to content

Commit

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

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

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

variable "repository" {
type = string
default = ""
Expand Down Expand Up @@ -174,3 +180,4 @@ variable "logs" {
}



0 comments on commit 46ed01e

Please sign in to comment.