From 69d930d79e27bfed6a5516ac794c66218dad3ba0 Mon Sep 17 00:00:00 2001 From: Finlay Birnie Date: Wed, 20 Nov 2024 11:48:01 +0000 Subject: [PATCH] use x86_64 architecture for PDF lambda --- api/serverless-config-default.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/api/serverless-config-default.yml b/api/serverless-config-default.yml index eeaa0e663..229aa1029 100644 --- a/api/serverless-config-default.yml +++ b/api/serverless-config-default.yml @@ -46,6 +46,7 @@ functions: cors: true getPDF: handler: dist/src/components/pdf/routes.getPublicationPDF + architecture: x86_64 memorySize: 2048 # https://github.com/alixaxel/chrome-aws-lambda#:~:text=You%20should%20allocate%20at%20least%20512%20MB%20of%20RAM%20to%20your%20Lambda%2C%20however%201600%20MB%20(or%20more)%20is%20recommended events: - http: