I ended up create the IAM role and specified the roles as part of SNS topic creation like this in golang:
topic, err := sns.NewTopic(ctx, snsTopicName, &sns.TopicArgs{
Policy: notificationPolicy,
SqsFailureFeedbackRoleArn: snsFeedbackRole.Arn,
SqsSuccessFeedbackRoleArn: snsFeedbackRole.Arn,
})
The IAM role with this policy:
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents",
"logs:PutMetricFilter",
"logs:PutRetentionPolicy"
],
"Resource": "*"
}]
}
ripe-shampoo-80285
08/12/2021, 1:41 AM
Once I did that, the SNS delivery status logs shows up in the cloudwatch
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.