Skip to content

Commit c04017c

Browse files
committed
change buckeowner and destination bucket name
1 parent 378c3f1 commit c04017c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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/shared/src/common/aws_s3_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from common.clients import get_s3_client, logger
66

77
EXPECTED_BUCKET_OWNER_ACCOUNT = os.getenv("ACCOUNT_ID")
8-
DESTINATION_BUCKET_NAME = os.getenv("DESTINATION_BUCKET_NAME")
8+
DSP_DESTINATION_BUCKET_NAME = os.getenv("ACK_BUCKET_NAME")
99

1010

1111
def move_file(bucket_name: str, source_file_key: str, destination_file_key: str) -> None:

0 commit comments

Comments
 (0)