Skip to content

Commit 753ec75

Browse files
committed
[NDR-97] missing iam role for pre-sign
1 parent e08b4b6 commit 753ec75

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

infrastructure/iam.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ data "aws_iam_policy_document" "assume_role_policy_for_create_lambda" {
2121

2222
principals {
2323
type = "AWS"
24-
identifiers = [module.create-doc-ref-lambda.lambda_execution_role_arn]
24+
identifiers = [module.create-doc-ref-lambda.lambda_execution_role_arn, module.post-document-references-fhir-lambda.lambda_execution_role_arn]
2525
}
2626
}
2727
}

infrastructure/lambda-post-document-fhir.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ module "post-document-references-fhir-lambda" {
3636
DOCUMENT_RETRIEVE_ENDPOINT_APIM = "${local.apim_api_url}/DocumentReference"
3737
PDS_FHIR_IS_STUBBED = local.is_sandbox
3838
WORKSPACE = terraform.workspace
39+
PRESIGNED_ASSUME_ROLE = aws_iam_role.create_post_presign_url_role.arn
3940
}
4041
depends_on = [
4142
aws_api_gateway_rest_api.ndr_doc_store_api,

0 commit comments

Comments
 (0)