diff --git a/src/terraform/modules/virtual-network/main.tf b/src/terraform/modules/virtual-network/main.tf index 66d53802d..aec64e992 100644 --- a/src/terraform/modules/virtual-network/main.tf +++ b/src/terraform/modules/virtual-network/main.tf @@ -26,18 +26,3 @@ resource "azurerm_storage_account" "loganalytics" { enable_https_traffic_only = true tags = var.tags } - -resource "azurerm_monitor_diagnostic_setting" "vnet" { - name = "${var.vnet_name}-vn-diagnostics" - target_resource_id = azurerm_virtual_network.vnet.id - storage_account_id = azurerm_storage_account.loganalytics.id - log_analytics_workspace_id = var.log_analytics_workspace_resource_id - - metric { - category = "AllMetrics" - - retention_policy { - enabled = false - } - } -}