Skip to content

Commit c71f065

Browse files
committed
add alerting to Application insights
this should trigger any default alerts in the templates repo, e.g. the exceptions one here https://github.com/NHSDigital/dtos-devops-templates/blob/main/infrastructure/modules/app-insights/alerts.tf#L1
1 parent f064d17 commit c71f065

File tree

1 file changed

+2
-0
lines changed
  • infrastructure/modules/infra

1 file changed

+2
-0
lines changed

infrastructure/modules/infra/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ module "app_insights_audit" {
7878
appinsights_type = "web"
7979

8080
log_analytics_workspace_id = module.log_analytics_workspace_audit.id
81+
82+
enable_alerting = var.enable_alerting
8183
}
8284

8385
module "private_link_scoped_service_law" {

0 commit comments

Comments
 (0)