S3 > SQS Event Notification Failure

1

I've been trying to setup through AWS Management Console an S3 event to send notification to SQS for newly-created objects but I'm always getting an error.

Unknown Error An unexpected error occurred.

Unable to validate the following destination configurations

NOTE: Both S3 and SQS are in the same region.

1 Answer
1

Hi.

You need to attach an IAM policy to the SQS queue to allow notifications from S3.

https://docs.aws.amazon.com/AmazonS3/latest/userguide/grant-destinations-permissions-to-s3.html#grant-sns-sqs-permission-for-s3

If you have already set this, there are cases where the S3 notification and destination queue settings are incorrect as shown below.

https://zenn.dev/fffukken/articles/5c165e8cde8e2b

profile picture
EXPERT
iwasa
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions