diff --git a/ses-domain/main.tf b/ses-domain/main.tf index 652937c..ce7d9ca 100644 --- a/ses-domain/main.tf +++ b/ses-domain/main.tf @@ -256,7 +256,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 - policy = data.aws_iam_document_policy.ses_event.json + policy = data.aws_iam_policy_document.ses_event.json } resource "aws_ses_identity_notification_topic" "ses_event" {