1
0
Форкнуть 0
terraform-azure-azureacadem.../resource.azurerm_monitor_di...

24 строки
554 B
HCL

resource "azurerm_monitor_diagnostic_setting" "Monitoring-nsg-bastion-d-eus" {
name = "Monitoring"
target_resource_id = azurerm_network_security_group.nsg-bastion-d-eus.id
log_analytics_workspace_id = resource.azurerm_log_analytics_workspace.MSAA-LogAnalytics-r345xqo624z2.id
enabled_log {
category = "NetworkSecurityGroupEvent"
retention_policy {
enabled = false
}
}
enabled_log {
category = "NetworkSecurityGroupRuleCounter"
retention_policy {
enabled = false
}
}
}