Skip to content

Commit 0dd35ff

Browse files
committed
PR comments - include aws region var
1 parent 8c3f4a9 commit 0dd35ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/batch_processor_filter_lambda.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ resource "aws_ecr_repository_policy" "batch_processor_filter_lambda_ECRImageRetr
6767
],
6868
"Condition" : {
6969
"StringLike" : {
70-
"aws:sourceArn" : "arn:aws:lambda:eu-west-2:${var.immunisation_account_id}:function:${local.short_prefix}-batch-processor-filter-lambda"
70+
"aws:sourceArn" : "arn:aws:lambda:${var.aws_region}:${var.immunisation_account_id}:function:${local.short_prefix}-batch-processor-filter-lambda"
7171
}
7272
}
7373
}

0 commit comments

Comments
 (0)