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
demandé il y a 2 mois79 vues
2 réponses
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
EXPERT
répondu il y a 2 mois
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
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions