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 個回答
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 pictureAWS
專家
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南