Skip to content

Commit 2260ef9

Browse files
authored
fix(database): reference to dynamic block iterator metric should be enabled_metric (#189)
1 parent 55eb50b commit 2260ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/database/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ resource "azurerm_monitor_diagnostic_setting" "database" {
7777
for_each = toset(var.diagnostic_setting_enabled_metric_categories)
7878

7979
content {
80-
category = metric.value
80+
category = enabled_metric.value
8181
}
8282
}
8383
}

0 commit comments

Comments
 (0)