By using AWS re:Post, you agree to the Terms of Use

Step Functions SQS Queue in different region

0

Hello, I have two SQS queues: one in us-east-1, and one in us-west-1. Currently my Step Function state machine is located in us-west-1, and has no trouble calling SQS API actions on the us-west-1 queue; however, any actions on the us-east-1 queue fail saying the queue cannot be found. Do Step Functions support using a queue outside of the state machine's region? If so, where is the parameter to set the queue region?

1 Answer
1

Don't believe it is possible to send messages to an SQS queue in a different region from either Lambda Functions or Step Functions. You could however send messages from the Step Function to an SNS Topic and then send from the SNS Topic to an SQS Queue in a different region, provided your two regions are in a supported combination, as per this document - https://docs.aws.amazon.com/sns/latest/dg/sns-cross-region-delivery.html

profile picture
EXPERT
answered 16 days 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