mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-09-30 06:03:14 +00:00
fix(infra): bind SES bucket policies to receipt rule ARNs
This commit is contained in:
parent
dd07bb973b
commit
21e939e8e1
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue