That file libquery_engine-rhel-openssl-1.0.x.so.node has a size of 44 MB. This in turn lead to the following error during sls deploy:
Serverless Error ----------------------------------------
An error occurred: GetUsersLambdaFunction - Resource handler returned message:
"Unzipped size must be smaller than 262144000 bytes"
(Service: Lambda, Status Code: 400, HandlerErrorCode: InvalidRequest).
Has anyone a working aws-lambda prisma example setup, which is working?
Tried that article, but it isn't working any more. It is refering this 2 year old example, which sounds promising, but so far I couldn't get it deployed.
Local Environment:
Tried to get this approach from prisma docu working. But it looks like the original aws-lambda example is deprecated:
There is no query-engine-*
... but a libquery-engine-*. So I assume serverless.yml should contain the following instead:
That file libquery_engine-rhel-openssl-1.0.x.so.node has a size of 44 MB. This in turn lead to the following error during
sls deploy
:Has anyone a working aws-lambda prisma example setup, which is working?
Tried that article, but it isn't working any more. It is refering this 2 year old example, which sounds promising, but so far I couldn't get it deployed.