File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -268,25 +268,10 @@ data "aws_iam_policy_document" "ses_events" {
268268 variable = " AWS:SourceAccount"
269269 values = [data . aws_caller_identity . current . account_id ]
270270 }
271- }
272-
273- statement {
274- sid = " AllowSesPublishFromSourceArn"
275- effect = " Allow"
276-
277- principals {
278- type = " Service"
279- identifiers = [" ses.amazonaws.com" ]
280- }
281-
282- actions = [" sns:Publish" ]
283- resources = [aws_sns_topic . ses_events [0 ]. arn ]
284-
285271 condition {
286- test = " ArnLike "
272+ test = " StringEquals "
287273 variable = " AWS:SourceArn"
288274 values = [
289- aws_ses_domain_identity . app [0 ]. arn ,
290275 " arn:aws:ses:${ local . ses_region } :${ data . aws_caller_identity . current . account_id } :configuration-set/${ local . ses_configuration_set_name } " ,
291276 ]
292277 }
You can’t perform that action at this time.
0 commit comments