Martin Andersen
Martin Andersen

Reputation: 2740

AWS - Subscribe queue to a SNS across different environments

We have 3 environments test, QA and production. Each with it own account.

This is what I am trying to accomplish. when a user uploads a new solr feed to AWS3 I want to send a SNS. The queues in test, QA and production are subscribing to the SNS topic.

In this way I can have 3 services running and keeping my solr instances in sync.

It's super easy to setup AWS3 to send a SNS on a created event and also very easy for a SQS to subscribe to a SNS message.

But how do I subscribe to a SNS topic across all environments? / accounts.

Upvotes: 0

Views: 248

Answers (1)

ketan vijayvargiya
ketan vijayvargiya

Reputation: 5659

If I understand your ask correctly, you'd like to subscribe SQS queues in different AWS accounts to one SNS topic. If so, that is totally possible, documentation for which can be found here.

Upvotes: 1

Related Questions