Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added support for custom tags #31

Merged
merged 3 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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."
}


Loading