Skip to content

Commit 074cf2d

Browse files
authored
Merge branch 'master' into dependabot/github_actions/actions/checkout-6.0.0
2 parents 7474b64 + af88341 commit 074cf2d

File tree

15 files changed

+489
-158
lines changed

15 files changed

+489
-158
lines changed

infrastructure/account/.terraform.lock.hcl

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/grafana/non-prod/terraform/.terraform.lock.hcl

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/instance/.terraform.lock.hcl

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/instance/file_name_processor.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ resource "aws_lambda_function" "file_processor_lambda" {
277277

278278
environment {
279279
variables = {
280+
ACCOUNT_ID = var.immunisation_account_id
280281
SOURCE_BUCKET_NAME = aws_s3_bucket.batch_data_source_bucket.bucket
281282
ACK_BUCKET_NAME = aws_s3_bucket.batch_data_destination_bucket.bucket
282283
QUEUE_URL = aws_sqs_queue.batch_file_created.url

lambdas/filenameprocessor/src/constants.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,18 @@
1111
)
1212

1313
SOURCE_BUCKET_NAME = os.getenv("SOURCE_BUCKET_NAME")
14+
15+
# We have used an internal temporary bucket here and an acutal dps bucket will replace this
16+
DPS_DESTINATION_BUCKET_NAME = os.getenv("ACK_BUCKET_NAME")
17+
EXPECTED_BUCKET_OWNER_ACCOUNT = os.getenv("ACCOUNT_ID")
1418
AUDIT_TABLE_NAME = os.getenv("AUDIT_TABLE_NAME")
1519
AUDIT_TABLE_TTL_DAYS = os.getenv("AUDIT_TABLE_TTL_DAYS")
1620
VALID_VERSIONS = ["V5"]
1721

1822
VACCINE_TYPE_TO_DISEASES_HASH_KEY = "vacc_to_diseases"
1923
ODS_CODE_TO_SUPPLIER_SYSTEM_HASH_KEY = "ods_code_to_supplier"
24+
EXTENDED_ATTRIBUTES_FILE_PREFIX = "Vaccination_Extended_Attributes"
25+
DPS_DESTINATION_PREFIX = "dps_destination/"
2026

2127
ERROR_TYPE_TO_STATUS_CODE_MAP = {
2228
VaccineTypePermissionsError: 403,

0 commit comments

Comments
 (0)