File tree Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ resource_name = {
10
10
rails_env = " production"
11
11
rails_master_key_path = " /copilot/mavis/production/secrets/RAILS_MASTER_KEY"
12
12
13
+ # TODO: Change this to the default value of 31 once rollover is built.
14
+ number_of_preparation_days_before_academic_year_starts = 1
15
+
13
16
http_hosts = {
14
17
MAVIS__HOST = " www.manage-vaccinations-in-schools.nhs.uk"
15
18
MAVIS__GIVE_OR_REFUSE_CONSENT_HOST = " www.give-or-refuse-consent-for-vaccinations.nhs.uk"
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ rails_master_key_path = "/copilot/mavis/secrets/STAGING_RAILS_MASTER_KEY"
13
13
enable_cis2 = false
14
14
enable_pds_enqueue_bulk_updates = false
15
15
16
+ # Normally this is 31, but this gives us 2 weeks of additional testing.
17
+ number_of_preparation_days_before_academic_year_starts = 45
18
+
16
19
http_hosts = {
17
20
MAVIS__HOST = " qa.mavistesting.com"
18
21
MAVIS__GIVE_OR_REFUSE_CONSENT_HOST = " qa.mavistesting.com"
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ resource_name = {
10
10
rails_env = " staging"
11
11
rails_master_key_path = " /copilot/mavis/secrets/STAGING_RAILS_MASTER_KEY"
12
12
13
+ # Normally this is 31, but this gives us 2 weeks of additional testing.
14
+ number_of_preparation_days_before_academic_year_starts = 45
15
+
13
16
http_hosts = {
14
17
MAVIS__HOST = " test.mavistesting.com"
15
18
MAVIS__GIVE_OR_REFUSE_CONSENT_HOST = " test.mavistesting.com"
Original file line number Diff line number Diff line change @@ -147,6 +147,13 @@ variable "enable_pds_enqueue_bulk_updates" {
147
147
nullable = false
148
148
}
149
149
150
+ variable "number_of_preparation_days_before_academic_year_starts" {
151
+ type = number
152
+ default = 31
153
+ description = " How many days before the start of the academic year to start the preparation period."
154
+ nullable = false
155
+ }
156
+
150
157
variable "enable_splunk" {
151
158
type = bool
152
159
default = true
@@ -166,7 +173,7 @@ locals {
166
173
parameter_store_variables = tomap ({
167
174
MAVIS__PDS__ENQUEUE_BULK_UPDATES = var.enable_pds_enqueue_bulk_updates ? " true" : " false"
168
175
MAVIS__PDS__WAIT_BETWEEN_JOBS = 0.5
169
- MAVIS__NUMBER_OF_PREPARATION_DAYS_BEFORE_ACADEMIC_YEAR_STARTS = 31
176
+ MAVIS__NUMBER_OF_PREPARATION_DAYS_BEFORE_ACADEMIC_YEAR_STARTS = var.number_of_preparation_days_before_academic_year_starts
170
177
GOOD_JOB_MAX_THREADS = 5
171
178
})
172
179
parameter_store_config_list = [for key , value in local . parameter_store_variables : {
You can’t perform that action at this time.
0 commit comments