Skip to content

Commit

Permalink
Merge pull request #3508 from DFE-Digital/2198-capt-apex-domain-not-m…
Browse files Browse the repository at this point in the history
…onitored

Fix ssl check statuscake monitoring
  • Loading branch information
RMcVelia authored Jan 13, 2025
2 parents b63804d + 223b5e7 commit d69f605
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions terraform/application/config/production.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"enable_monitoring": true,
"statuscake_contact_groups": [195955, 282453],
"external_url": "https://www.claim-additional-teaching-payment.service.gov.uk/healthcheck",
"apex_url": "https://claim-additional-teaching-payment.service.gov.uk",
"enable_logit": true,
"dataset_name": "claim_events_production",
"enable_dfe_analytics_federated_auth": true
Expand Down
2 changes: 1 addition & 1 deletion terraform/application/statuscake.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module "statuscake" {
source = "./vendor/modules/aks//monitoring/statuscake"

uptime_urls = compact([module.web_application.probe_url, var.external_url])
ssl_urls = compact([var.external_url])
ssl_urls = compact([var.apex_url])

contact_groups = var.statuscake_contact_groups

Expand Down
4 changes: 4 additions & 0 deletions terraform/application/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ variable "external_url" {
default = null
description = "Healthcheck URL for StatusCake monitoring"
}
variable "apex_url" {
default = null
description = "Apex URL for StatusCake SSL monitoring"
}
variable "statuscake_contact_groups" {
default = []
description = "ID of the contact group in statuscake web UI"
Expand Down

0 comments on commit d69f605

Please sign in to comment.