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 個月前

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

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

回答問題指南