Skip to content

Commit 2df70f4

Browse files
[PRMP-1476] Update User Restriction ODS Code upon MNS Notification (Active Records Only) (#635)
1 parent cc2b599 commit 2df70f4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

infrastructure/lambda-mns-notification.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ module "mns-notification-lambda" {
1010
module.lloyd_george_reference_dynamodb_table.dynamodb_read_policy_document,
1111
module.document_upload_review_dynamodb_table.dynamodb_write_policy_document,
1212
module.document_upload_review_dynamodb_table.dynamodb_read_policy_document,
13+
module.user_restriction_table.dynamodb_read_policy_document,
14+
module.user_restriction_table.dynamodb_write_policy_document,
1315
aws_iam_policy.ssm_access_policy.policy,
1416
module.ndr-app-config.app_config_policy,
1517
aws_iam_policy.kms_mns_lambda_access[0].policy,
@@ -26,6 +28,7 @@ module "mns-notification-lambda" {
2628
DOCUMENT_REVIEW_DYNAMODB_NAME = module.document_upload_review_dynamodb_table.table_name
2729
MNS_NOTIFICATION_QUEUE_URL = module.sqs-mns-notification-queue[0].sqs_url
2830
PDS_FHIR_IS_STUBBED = local.is_sandbox
31+
RESTRICTIONS_TABLE_NAME = module.user_restriction_table.table_name
2932
}
3033
is_gateway_integration_needed = false
3134
is_invoked_from_gateway = false

0 commit comments

Comments
 (0)