Lambda unzipped size issue

0

Hello,

I'm getting this error even though the unzipped size is smaller (210MB) than the 250MB allotted to Lambdas. Any help would be appreciated. I'm using serverless and Nodejs

UPDATE_FAILED: AppLambdaFunction (AWS::Lambda::Function)
Resource handler returned message: "Unzipped size must be smaller than 210458677 bytes (Service: Lambda, Status Code: 400, Request ID: a3befae4-fc71-47a1-b874-1f27c65aa448)" (RequestToken: 36a53f78-6a4f-8347-2814-eed997466161, HandlerErrorCode: InvalidRequest)
nsaud
demandé il y a 8 mois337 vues
1 réponse
0

According to the error your unzipped size is bigger than 210mb. Also note lambda layers also account for the total lambda size of 250mb.

If using windows select all files and folders and check properties to give you the size in use.

profile picture
EXPERT
répondu il y a 8 mois
  • That's not what the error says, though. It say it must be smaller than 210MB which is not correct. It should be 250 and under.

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