Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1812] Enable Logit on non-prod environments #2234

Merged
merged 1 commit into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Loading