From a5ae6962eb6817f06df3673d8a771a31d67c8649 Mon Sep 17 00:00:00 2001 From: Abigail McPhillips Date: Fri, 10 May 2024 11:08:00 +0100 Subject: [PATCH] Comment out statuscake --- Makefile | 1 + terraform/application/statuscake.tf | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index d8c10c2a57..cdcefa2097 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,7 @@ review_aks: test-cluster $(eval ENVIRONMENT=review-${PR_NUMBER}) $(eval export TF_VAR_environment=${ENVIRONMENT}) $(eval include global_config/review.sh) + echo https://claim-additional-payments-for-teaching-$(PR_NUMBER).test.teacherservices.cloud will be created in aks set-azure-account: az account set -s ${AZ_SUBSCRIPTION} diff --git a/terraform/application/statuscake.tf b/terraform/application/statuscake.tf index be1b3f03ef..840f7a8ad6 100644 --- a/terraform/application/statuscake.tf +++ b/terraform/application/statuscake.tf @@ -1,10 +1,12 @@ -module "statuscake" { - count = var.enable_monitoring ? 1 : 0 +# TODO: Uncomment when needed then follow these steps: https://github.com/DFE-Digital/teacher-services-cloud/blob/main/documentation/onboard-service.md#configure-statuscake-credentials - source = "./vendor/modules/aks//monitoring/statuscake" +# module "statuscake" { +# count = var.enable_monitoring ? 1 : 0 - uptime_urls = compact([module.web_application.probe_url, var.external_url]) - ssl_urls = compact([var.external_url]) +# source = "./vendor/modules/aks//monitoring/statuscake" - contact_groups = var.statuscake_contact_groups -} +# uptime_urls = compact([module.web_application.probe_url, var.external_url]) +# ssl_urls = compact([var.external_url]) + +# contact_groups = var.statuscake_contact_groups +# }