- Newest
- Most votes
- Most comments
Hello, It seems like your setup isn't working as expected. Here’s what to check:
SNS Topic Setup: Make sure your AWS Marketplace product is actually configured to send events to your SNS topic.
SNS to SQS Subscription: Verify that your SQS queue is properly subscribed to the SNS topic and that the subscription is confirmed.
Permissions: Check that SNS has permission to send messages to your SQS queue. You might need an IAM policy allowing sns:Publish to your queue.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "sns.amazonaws.com"
},
"Action": "sqs:SendMessage",
"Resource": "arn:aws:sqs:your-region:your-account-id:your-queue-name",
"Condition": {
"ArnEquals": {
"aws:SourceArn": "arn:aws:sns:your-region:your-account-id:your-topic-name"
}
}
}
]
}
Marketplace Event Configuration: Confirm that the Marketplace is set up to send notifications for the specific events you’re looking for.
CloudWatch Logs: Look at CloudWatch logs for SNS, SQS, and Lambda to see if there are any errors.
Test the Flow: Try sending a test message directly to the SNS topic to see if it goes through to the SQS queue and triggers the Lambda function.
Thanks for the answer, I have gone through this checklist
**SNS Topic Setup: **OK
SNS to SQS Subscription: OK
**Permissions: **Identical, OK
**Marketplace Event Configuration: **I dont know where to check that but considering that I have SNS Arn showing up in my product page then it should be set up already?
CloudWatch Logs: No events so no logs
I am subscribing, changing subcriptions etc but still no events show up
Relevant content
- asked 2 years ago
