Skip to content

Commit

Permalink
Merge pull request #17 from quantum-sec/feature/XDR-4341
Browse files Browse the repository at this point in the history
XDR-4341: Add support for tags
  • Loading branch information
nicholascwd authored Mar 27, 2023
2 parents 78d6059 + 2b25f45 commit 50ed167
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/log-analytics-solution/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ resource "azurerm_log_analytics_solution" "solution" {
publisher = var.publisher
product = var.product
}

tags = var.tags

}
6 changes: 6 additions & 0 deletions modules/log-analytics-solution/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ variable "product" {
description = "The product name of the solution. For example `OMSGallery/Containers`."
type = string
}

variable "tags" {
description = "A mapping of tags to assign to the resource."
type = map(string)
default = {}
}

0 comments on commit 50ed167

Please sign in to comment.