Skip to content

Commit

Permalink
Updated status cake alerts goup list
Browse files Browse the repository at this point in the history
  • Loading branch information
Venkata Challa committed Apr 18, 2024
1 parent 341269b commit d91006e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion terraform/statuscake.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "statuscake_ssl_check" "domain-alert" {
count = var.statuscake_ssl_contact_group != null ? 1 : 0

check_interval = 3600 # Check once per hour
contact_groups = [var.statuscake_ssl_contact_group]
contact_groups = var.statuscake_ssl_contact_group
follow_redirects = true

alert_config {
Expand Down
6 changes: 3 additions & 3 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ variable "domain" {
}

variable "statuscake_ssl_contact_group" {
type = string
default = null
description = "ID of the StatusCake contact group. If empty, SSL check is not enabled"
type = list(string)
default = []
description = "ID's of the StatusCake contact group. If empty, SSL check is not enabled"
}

locals {
Expand Down
2 changes: 1 addition & 1 deletion terraform/workspace_variables/production.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
}
},
"domain": "teaching-identity.education.gov.uk",
"statuscake_ssl_contact_group": 249142
"statuscake_ssl_contact_group": [288912, 282453]
}

0 comments on commit d91006e

Please sign in to comment.