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
asked 2 months ago71 views
2 Answers
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
answered 2 months ago
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
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions