We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b9c74b commit 8790649Copy full SHA for 8790649
infrastructure/tf-core/sql_server.tf
@@ -28,7 +28,7 @@ module "azure_sql_server" {
28
29
# Azure Monitor Alerting
30
enable_alerting = var.features.alerts_enabled
31
- action_group_id = module.monitor_action_group_performance[0].monitor_action_group.id
+ action_group_id = var.features.alerts_enabled ? module.monitor_action_group_performance[0].monitor_action_group.id : null
32
33
sql_uai_name = null # not used - deprecate in module
34
sql_admin_group_name = var.sqlserver.sql_admin_group_name
0 commit comments