Skip to content

Commit d4b8bcf

Browse files
committed
fix(iac): allow regional ses sns principal
1 parent 74d2e31 commit d4b8bcf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

iac/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,10 @@ data "aws_iam_policy_document" "ses_events" {
257257

258258
principals {
259259
type = "Service"
260-
identifiers = ["ses.amazonaws.com"]
260+
identifiers = [
261+
"ses.amazonaws.com",
262+
"ses.${local.ses_region}.amazonaws.com",
263+
]
261264
}
262265

263266
actions = ["sns:Publish"]

0 commit comments

Comments
 (0)