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
asked 3 months ago116 views
2 Answers
0

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

How big are your layers when extracted?

profile picture
EXPERT
answered 3 months ago
  • 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
EXPERT
answered 3 months ago
profile pictureAWS
EXPERT
reviewed 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions