I try to deploy my lambda project with puppeteer-lambda, it's ok in local but it failed when I deploy on aws:
An error occurred: ConvertToPdfLambdaFunction - Unzipped size must be smaller than 262144000 bytes (Service: AWSLambda; Status Code: 400; Error Code: InvalidParameterValueException
I use this command for deployment :
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true && yarn install && yarn test && SLS_DEBUG=* yarn build && serverless deploy --stage dev
I try to deploy my lambda project with puppeteer-lambda, it's ok in local but it failed when I deploy on aws:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true && yarn install && yarn test && SLS_DEBUG=* yarn build && serverless deploy --stage dev
have you an idea how to fix that ?