Skip to content

Commit 9c13bf1

Browse files
stevebuxnhsd-david-wass
authored andcommitted
Switch letter_status_update lambda to use eventsub SNS topic
1 parent 4308b0e commit 9c13bf1

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

infrastructure/terraform/components/api/module_lambda_amendment_event_transformer.tf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,17 @@ data "aws_iam_policy_document" "amendment_event_transformer" {
9595
module.eventsub.sns_topic.arn
9696
]
9797
}
98+
99+
statement {
100+
sid = "AllowSNSPublish"
101+
effect = "Allow"
102+
103+
actions = [
104+
"sns:Publish"
105+
]
106+
107+
resources = [
108+
module.eventsub.sns_topic.arn
109+
]
110+
}
98111
}

0 commit comments

Comments
 (0)