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 Respuesta
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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas