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
已提問 3 個月前檢視次數 128 次
2 個答案
0

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

How big are your layers when extracted?

profile picture
專家
已回答 3 個月前
  • 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
專家
已回答 3 個月前
profile pictureAWS
專家
已審閱 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南