Skip to content

Commit

Permalink
Revert "Add Statuscake SSL monitoring" (#56)
Browse files Browse the repository at this point in the history
* Revert "Add Statuscake SSL monitoring (#55)"

This reverts commit c87c1d6.

* Add domain for ssl Statuscake check
  • Loading branch information
nickdevdfe authored Jun 15, 2023
1 parent c87c1d6 commit 99e5b03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/statuscake.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ resource "statuscake_ssl_check" "domain-alert" {
}

monitored_resource {
address = each.value.website_name
address = each.value.ssl_domain
}
}
1 change: 1 addition & 0 deletions terraform/workspace_variables/production.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"statuscake_alerts": {
"trngen-prod": {
"website_name": "trn-generation-api.education.gov.uk-prod",
"ssl_domain": "https://trn-generation-api.education.gov.uk",
"website_url": "http://trn-generation-api.education.gov.uk/health",
"contact_group": [249142],
"confirmations": 2
Expand Down

0 comments on commit 99e5b03

Please sign in to comment.