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
質問済み 2ヶ月前79ビュー
2回答
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
エキスパート
回答済み 2ヶ月前
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
回答済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ