diff --git a/ses-domain/main.tf b/ses-domain/main.tf index ce7d9ca..97eb5f3 100644 --- a/ses-domain/main.tf +++ b/ses-domain/main.tf @@ -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 }