Skip to content

Marketplace events are not being fired to SNS topic

0

Hello,

I have SQS queue thats subscribed to SNS topics for my product in AWS Marketplace and Lambda function thats being triggered via SQS queue, but I dont see any action no matter what I do with product. No events are being put to the queues.

Is it expected behavior? Do I need additional configuration

2 Answers
1

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.

EXPERT
answered a year ago
EXPERT
reviewed a year ago
0

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

answered a year 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.