fix(infra): bind SES bucket policies to receipt rule ARNs

This commit is contained in:
Adam Moussa 2026-08-06 17:20:37 -04:00
parent dd07bb973b
commit 21e939e8e1
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -43,6 +43,7 @@ resource "aws_s3_bucket_policy" "po_emails" {
Condition = {
StringEquals = {
"aws:SourceAccount" = local.account_id
"aws:SourceArn" = aws_ses_receipt_rule.po_email.arn
}
}
}

View file

@ -43,6 +43,7 @@ resource "aws_s3_bucket_policy" "wo_emails" {
Condition = {
StringEquals = {
"aws:SourceAccount" = local.account_id
"aws:SourceArn" = aws_ses_receipt_rule.wo_email.arn
}
}
}