Lambda function package not found error

0

I have added package through layer but getting error like this I followed this post to Manually create a Lambda layer that uses the latest Boto3 version

Error : Layers consume more than the available size of 262144000 bytes

Dipika
posta 3 mesi fa128 visualizzazioni
2 Risposte
0

Lambda has a maximum size of 250mb of all layers when extracted.

How big are your layers when extracted?

profile picture
ESPERTO
con risposta 3 mesi fa
  • It is 64000 bytes

0

Hello.

The error is caused by Lambda's package size limit.
Does it include any other large packages besides Boto3?
If it only contains Boto3, I don't think it will be that size, so the layer creation method may be incorrect.
https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html

You can also get around size limits by using container images with Lambda.
https://docs.aws.amazon.com/lambda/latest/dg/images-create.html

profile picture
ESPERTO
con risposta 3 mesi fa
profile pictureAWS
ESPERTO
verificato 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande