Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Mar 31, 2021
1 parent 0306a42 commit b49326c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ses-domain/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ resource "aws_sns_topic" "ses_event" {

resource "aws_sns_topic_policy" "ses_event" {
count = local.enable_sns_events ? 1 : 0
arn = aws_sns_topic.ses_event.arn
arn = aws_sns_topic.ses_event[0].arn
policy = data.aws_iam_policy_document.ses_event.json
}

Expand Down

0 comments on commit b49326c

Please sign in to comment.