Skip to content

Commit

Permalink
Enable logit on non-prod environments
Browse files Browse the repository at this point in the history
  • Loading branch information
saliceti authored and RMcVelia committed May 31, 2024
1 parent 9d6e275 commit a1ecc20
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/application/application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ module "web_application" {

docker_image = var.docker_image
replicas = var.app_replicas
enable_logit = var.enable_logit
}

module "worker_application" {
Expand All @@ -72,4 +73,6 @@ module "worker_application" {
docker_image = var.docker_image
command = ["bundle", "exec", "sidekiq", "-C", "./config/sidekiq.yml"]
probe_command = ["pgrep", "-f", "sidekiq"]

enable_logit = var.enable_logit
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"app_environment": "development",
"cluster": "test",
"dqt_api_url": "https://dev.teacher-qualifications-api.education.gov.uk",
"enable_logit": true,
"enable_monitoring": false,
"external_hostname": "dev.apply-for-qts-in-england.education.gov.uk",
"namespace": "tra-development",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"app_environment": "preproduction",
"cluster": "test",
"dqt_api_url": "https://preprod.teacher-qualifications-api.education.gov.uk",
"enable_logit": true,
"enable_monitoring": false,
"external_hostname": "preprod.apply-for-qts-in-england.education.gov.uk",
"namespace": "tra-test",
Expand Down
1 change: 1 addition & 0 deletions terraform/application/config/review/variables.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"cluster": "test",
"deploy_azure_backing_services": false,
"dqt_api_url": "https://dev.teacher-qualifications-api.education.gov.uk",
"enable_logit": true,
"enable_monitoring": false,
"namespace": "tra-development",
"uploads_storage_environment_tag": "Test"
Expand Down
5 changes: 5 additions & 0 deletions terraform/application/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ variable "dqt_api_url" {
type = string
}

variable "enable_logit" {
type = bool
default = false
}

variable "enable_monitoring" {
type = bool
default = true
Expand Down

0 comments on commit a1ecc20

Please sign in to comment.