serverless-components / express

⚡ Take existing Express.js apps and host them easily on cheap, auto-scaling, serverless infrastructure (AWS Lambda and AWS HTTP API).
https://serverless.com/components
Apache License 2.0
375 stars 34 forks source link

Support up-to-date Lambda 'memory' options #79

Open robertgoacher opened 2 years ago

robertgoacher commented 2 years ago

Lambda functions can support a 'memory' configuration of up to 10240 MB but it doesn't look like this component supports this.

If you try to set the 'memory' to '10240' (for example) in Serverless.yml, you get the following error:

Serverless › Deployment failed due to invalid input: "memory" must be one of [128, 192, 256, 320, 384, 448, 512, 576, 704, 768, 832, 1024, 1280, 1536, 1792, 2048, 2240, 2688, 2944, 3008]

Can this component please support the latest range of memory options for Lambda?