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 4431860
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 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 @@ -5,5 +5,6 @@
"enable_monitoring": false,
"external_hostname": "dev.apply-for-qts-in-england.education.gov.uk",
"namespace": "tra-development",
"uploads_storage_environment_tag": "Test"
"uploads_storage_environment_tag": "Test",
"enable_logit": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"enable_monitoring": false,
"external_hostname": "preprod.apply-for-qts-in-england.education.gov.uk",
"namespace": "tra-test",
"uploads_storage_environment_tag": "Test"
"uploads_storage_environment_tag": "Test",
"enable_logit": true
}
3 changes: 2 additions & 1 deletion terraform/application/config/review/variables.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"dqt_api_url": "https://dev.teacher-qualifications-api.education.gov.uk",
"enable_monitoring": false,
"namespace": "tra-development",
"uploads_storage_environment_tag": "Test"
"uploads_storage_environment_tag": "Test",
"enable_logit": true
}
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 4431860

Please sign in to comment.