mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-10-07 12:38:54 +00:00
fix(infra): bind SES bucket policies to receipt rule ARNs
This commit is contained in:
parent
00a0a54b0b
commit
088b1a3c01
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