Skip to content

Commit 6a373b6

Browse files
committed
adding support to terraform v0.13
1 parent 989b3ff commit 6a373b6

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

main.tf

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -443,33 +443,6 @@ resource "azurerm_monitor_diagnostic_setting" "nsg" {
443443
}
444444
}
445445

446-
resource "azurerm_monitor_diagnostic_setting" "fw-pip" {
447-
for_each = local.public_ip_map
448-
name = "${each.key}-pip-diag"
449-
target_resource_id = azurerm_public_ip.fw-pip[each.key].id
450-
storage_account_id = azurerm_storage_account.storeacc.id
451-
log_analytics_workspace_id = azurerm_log_analytics_workspace.logws.id
452-
453-
dynamic "log" {
454-
for_each = var.fw_pip_diag_logs
455-
content {
456-
category = log.value
457-
enabled = true
458-
459-
retention_policy {
460-
enabled = false
461-
}
462-
}
463-
}
464-
465-
metric {
466-
category = "AllMetrics"
467-
468-
retention_policy {
469-
enabled = false
470-
}
471-
}
472-
}
473446

474447
resource "azurerm_monitor_diagnostic_setting" "fw-diag" {
475448
name = lower("fw-${var.hub_vnet_name}-diag")

0 commit comments

Comments
 (0)