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 réponse
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
EXPERT
répondu il y a un an
profile picture
EXPERT
vérifié il y a un an

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