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 committed May 30, 2024
1 parent 152bd3c commit 68cd48c
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 @@ -74,3 +74,8 @@ variable "uploads_storage_account_name" {
type = string
default = null
}

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

0 comments on commit 68cd48c

Please sign in to comment.