Skip to content

Commit

Permalink
fix: add missing tags in resource (#93)
Browse files Browse the repository at this point in the history
* fix: add missing tags in resource

* fix: use enabled_log, since log is deprecated
  • Loading branch information
tembleking authored Aug 29, 2023
1 parent 5f0aaa1 commit e7b808e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/single-subscription/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ module "infrastructure_resource_group" {
location = var.location
name = var.name
resource_group_name = var.resource_group_name
tags = var.tags
}
2 changes: 1 addition & 1 deletion modules/infrastructure/eventhub/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting" {
ignore_changes = [log, metric]
}

dynamic "log" {
dynamic "enabled_log" {
for_each = var.logs
content {
category = log.value
Expand Down

0 comments on commit e7b808e

Please sign in to comment.