Skip to content

Commit

Permalink
Add SSL check for find-teacher-training-courses
Browse files Browse the repository at this point in the history
  • Loading branch information
johnake committed Sep 5, 2024
1 parent 845d90e commit d408c39
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/aks/statuscake.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module "statuscake" {
source = "./vendor/modules/aks//monitoring/statuscake"

uptime_urls = compact(concat([module.web_application["main"].probe_url], local.statuscake_additional_hostnames))
ssl_urls = compact([var.external_url])

contact_groups = var.statuscake_contact_groups
}
5 changes: 5 additions & 0 deletions terraform/aks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ variable "enable_monitoring" {

variable "enable_logit" { default = false }

variable "external_url" {
default = null
description = "Healthcheck URL for StatusCake monitoring"
}

variable "statuscake_contact_groups" {
type = list(number)
default = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"enable_monitoring": true,
"enable_logit": true,
"statuscake_contact_groups": [204421, 282453],
"external_url": "https://find-teacher-training-courses.service.gov.uk/ping",
"postgres_flexible_server_sku": "GP_Standard_D4ds_v5",
"postgres_enable_high_availability": true,
"postgres_azure_maintenance_window": {
Expand Down

0 comments on commit d408c39

Please sign in to comment.