Cross region calls , where event source is in different region than the lambda

0

Hi Team I have a use case where I am trying to invoke my lambda from an SQS using eventSource. However both my SQS and lambda are in different region And while deployment it is failing saying "Invalid request provided: Event source region must match Lambda region eu-west-1" If the scenario is that I can't change region of either what should be my way forward? Things tried :

  1. Saw a solution saying go and enable cross region call in Advance settings in configuration tab , but couldn't found any such checkbox asking to enable cross region call.
1回答
0

Hello

It is not possible to execute lambda with SQS as the even source if the SQS queue is in a different region. Please refer this article -> https://repost.aws/knowledge-center/lambda-sqs-event-source

I would suggest that you look into a fan-out solution such as this -> https://aws.amazon.com/getting-started/hands-on/send-fanout-event-notifications/

profile picture
Bisina
回答済み 10ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ