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
전문가
답변함 일 년 전
profile picture
전문가
검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠