Skip to content

Commit 226744d

Browse files
committed
add enable_alerting variable to infra
This is set in variables.tfvars and is needed to decide whether alerting on the app-insights module is setup (in infrastructure/modules/app-insights/alerts.tf on the dtos-devops-templates repo)
1 parent 5b77b7c commit 226744d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

infrastructure/modules/container-apps/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ variable "use_apex_domain" {
156156
}
157157

158158
variable "enable_alerting" {
159-
description = "Whether monitoring and alerting is enabled for the PostgreSQL Flexible Server."
159+
description = "Whether monitoring and alerting is enabled."
160160
type = bool
161161
}
162162

infrastructure/modules/infra/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ variable "cae_zone_redundancy_enabled" {
4848
type = bool
4949
}
5050

51+
variable "enable_alerting" {
52+
description = "Whether monitoring and alerting is enabled."
53+
type = bool
54+
}
55+
5156
locals {
5257
hub_vnet_rg_name = "rg-hub-${var.hub}-uks-hub-networking"
5358
}

0 commit comments

Comments
 (0)