Skip to content

Commit

Permalink
Merge pull request #2234 from DFE-Digital/1812-onboard-services-to-lo…
Browse files Browse the repository at this point in the history
…gitio

[1812] Enable Logit on non-prod environments
  • Loading branch information
RMcVelia authored May 31, 2024
2 parents 9d6e275 + a1ecc20 commit 9307a23
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 9307a23

Please sign in to comment.