File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -443,33 +443,6 @@ resource "azurerm_monitor_diagnostic_setting" "nsg" {
443
443
}
444
444
}
445
445
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
- }
473
446
474
447
resource "azurerm_monitor_diagnostic_setting" "fw-diag" {
475
448
name = lower (" fw-${ var . hub_vnet_name } -diag" )
You can’t perform that action at this time.
0 commit comments