Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Darrell Bolger committed Jan 23, 2024
1 parent 4239013 commit e23a1b5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion modules/cognitive-services/src/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,21 @@ resource "azurerm_monitor_diagnostic_setting" "main" {
log_analytics_workspace_id = var.log_analytics_workspace_id

dynamic "enabled_log" {
for_each = var.log_category_groups
for_each = var.log_categories

content {
category = enabled_log.value
}
}

dynamic "enabled_log" {
for_each = var.log_category_groups

content {
category_group = enabled_log.value
}
}

dynamic "metric" {
for_each = var.metric_categories

Expand Down

0 comments on commit e23a1b5

Please sign in to comment.