Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlockstar committed Dec 20, 2024
1 parent e75c504 commit 946e264
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions infrastructure/modules/sql-server/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ module "private_endpoint_sql_server" {
/* --------------------------------------------------------------------------------------------------
SQL Server Diagnostic Settings
-------------------------------------------------------------------------------------------------- */
module "diagnostic_setting_sql_server" {
# module "diagnostic_setting_sql_server" {

source = "../diagnostic-settings"
# source = "../diagnostic-settings"

name = "${var.name}-sql-server-diagnotic-setting"
target_resource_id = "${azurerm_mssql_server.azure_sql_server.id}/databases/master"
log_analytics_workspace_id = var.log_analytics_workspace_id
enabled_log = var.monitor_diagnostic_setting_sql_server_enabled_logs
metric = var.monitor_diagnostic_setting_sql_server_metrics
}
# name = "${var.name}-sql-server-diagnotic-setting"
# target_resource_id = "${azurerm_mssql_server.azure_sql_server.id}/databases/master"
# log_analytics_workspace_id = var.log_analytics_workspace_id
# enabled_log = var.monitor_diagnostic_setting_sql_server_enabled_logs
# metric = var.monitor_diagnostic_setting_sql_server_metrics
# }

/* --------------------------------------------------------------------------------------------------
SQL Server Extended Auditing Policy
Expand Down

0 comments on commit 946e264

Please sign in to comment.