lambda invocation from ALB and github webhook

0

I have configured lambda function with container image. It is getting triggered by ALB target. The ALB target is set as github webhook payload URL.

Now when I am sending curl request from my laptop to the ALB target URL it is invoking lambda function and I can see that in the cloudwatch logs. But when github webhook is sent, it is getting failed and giving 503 error. Am I missing something?

Mukesh
preguntada hace 2 meses79 visualizaciones
2 Respuestas
0

Hello.

Will Lambda logs not be output when a 503 error occurs?
I don't think it matters much, but when combining ALB and Lambda, the payload is limited to 1MB.
I think GitHub webhooks are sent in JSON, so I don't think this limit will be exceeded, but it might be a good idea to check just in case.
https://repost.aws/ja/questions/QUPHFFlMKbT-urD9l3gHMdLQ/can-the-1mb-request-payload-limit-for-an-alb-lambda-target-be-increased

profile picture
EXPERTO
respondido hace 2 meses
0

No, there is no lambda invocation logs in lambda cloudwatch logs when I get 503. And github webhook payload is not exceeding 1 MB.

Mukesh
respondido hace 2 meses

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