serverlesspub / latex-aws-lambda-layer

latex/pdflatex binaries for AWS Lambda
Other
20 stars 8 forks source link

How do you workaround 250m limit? #8

Open lzhoucs opened 2 years ago

lzhoucs commented 2 years ago

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?