latex-aws-lambda-layer icon indicating copy to clipboard operation
latex-aws-lambda-layer copied to clipboard

How do you workaround 250m limit?

Open lzhoucs opened this issue 2 years ago • 0 comments

the latex+ perl layer are over 250M unzipped. When I deploy them with my function I got an error:

 Serverless Error ----------------------------------------
 
  An error occurred: FooLambdaFunction - Resource handler returned message: "Function code combined with layers exceeds the maximum allowed size of 262144000 bytes. The actual size is 288321462 bytes. (Service: Lambda, Status Code: 400, Request ID: ...)" (RequestToken: ..., HandlerErrorCode: InvalidRequest).

I wonder how to bypass the limit?

lzhoucs avatar Sep 01 '22 20:09 lzhoucs