ZIP upload to S3 not recognized by lambda function

0

I want to deploy a package that I wrote locally by uploading it to a lambda function. The package is zipped (as you can see from the description of the file characteristics -> Type=zip). I already did it a few times with different code, and I'm following the same steps, however now I'm getting an error saying that the file is not zipped. Can someone help me?

info on the zpi file I uploaded to s3 info on the error I'm getting

1回答
0

You are exceeding the unzippped Limit 250 MB.

There are limits when uploading into Lambda. These are hard Limits and cant be increased. Your code needs to meet the following criteria..

This quota applies to all the files you upload, including layers and custom runtimes.

  1. 50 MB (zipped, for direct upload)
  2. 250 MB (unzipped)
  3. 3 MB (console editor)

If you are uploading so much code, there might be a real problem in your design that may need to be reviewed and addressed. A function is meant to contain short logical code. So much code may cause high cold start times and latency problems.

profile picture
エキスパート
回答済み 1年前
profile picture
エキスパート
レビュー済み 1年前

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

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

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

関連するコンテンツ