diff --git a/terraform/aks/application.tf b/terraform/aks/application.tf index b73746cd..ffa92aaf 100644 --- a/terraform/aks/application.tf +++ b/terraform/aks/application.tf @@ -19,6 +19,7 @@ module "web_application" { probe_path = var.probe_path web_external_hostnames = var.gov_uk_host_names + enable_logit = var.enable_logit } module "application_configuration" { @@ -54,4 +55,5 @@ module "worker_application" { replicas = 1 command = ["/bin/sh", "-c", "./bin/worker-startup.sh"] probe_command = ["pgrep", "-f", "sidekiq"] + enable_logit = var.enable_logit } diff --git a/terraform/aks/config/qa.tfvars.json b/terraform/aks/config/qa.tfvars.json index 8f2bd01f..45490ddb 100644 --- a/terraform/aks/config/qa.tfvars.json +++ b/terraform/aks/config/qa.tfvars.json @@ -13,5 +13,6 @@ "gov_uk_host_names": [ "qa.get-a-teacher-relocation-payment.education.gov.uk" ], - "azure_enable_backup_storage": false + "azure_enable_backup_storage": false, + "enable_logit": true } diff --git a/terraform/aks/config/review.tfvars.json b/terraform/aks/config/review.tfvars.json index 35d7d4b8..cff0fadb 100644 --- a/terraform/aks/config/review.tfvars.json +++ b/terraform/aks/config/review.tfvars.json @@ -10,5 +10,6 @@ "enable_monitoring": false, "startup_command": ["/bin/sh", "-c", "./bin/app-startup.sh"], "replicas": 1, - "memory_max": "1Gi" + "memory_max": "1Gi", + "enable_logit": true } diff --git a/terraform/aks/config/staging.tfvars.json b/terraform/aks/config/staging.tfvars.json index fdd9fc56..9c052b4e 100644 --- a/terraform/aks/config/staging.tfvars.json +++ b/terraform/aks/config/staging.tfvars.json @@ -13,5 +13,6 @@ "gov_uk_host_names": [ "staging.get-a-teacher-relocation-payment.education.gov.uk" ], - "azure_enable_backup_storage": false + "azure_enable_backup_storage": false, + "enable_logit": true } diff --git a/terraform/aks/variables.tf b/terraform/aks/variables.tf index a3dca977..ae1d50c8 100644 --- a/terraform/aks/variables.tf +++ b/terraform/aks/variables.tf @@ -39,7 +39,7 @@ variable "statuscake_alerts" { type = map(any) default = {} } - +variable "enable_logit" { default = false } locals { service_name = "teacher-relocation-payment" version = "1.9.7"