Skip to content

Commit

Permalink
fix: use enabled_log, since log is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
tembleking committed Aug 29, 2023
1 parent 062f8ce commit a342cfd
Showing 1 changed file with 1 addition and 1 deletion.
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 a342cfd

Please sign in to comment.