shelfio / chrome-aws-lambda-layer

58 MB Google Chrome to fit inside AWS Lambda Layer compressed with Brotli
MIT License
637 stars 45 forks source link

[Documentation Request]: Mark layer as only x86_64 compatible #48

Closed LukaHedt closed 11 months ago

LukaHedt commented 2 years ago

Hi,

Sorry to be a pest, but I've been messing about all day with this and have only just realised that the layer is only x86 compatible, not ARM compatible.

Would appreciate that being marked somewhere in the docs :')

FYI for the next poor person using this layer, and maybe not familiar with lambda layers, here's the settings you want:

package.json

lambda container settings:

In the deployed lambda code You can just use a regular ES6 or CommonJS import statement for @sparticuz/chrome-aws-lambda, and just use as indicated.

Just a note, I don't have it currently resolving properly, locally, with Jest, it throws some prototyping error when trying to resolve puppeteer.

vladholubiev commented 1 year ago

Thanks! Version 33 is now marked as --compatible-architectures x86_64

vladholubiev commented 11 months ago

2023-09-14T11 09 24-AME8yYsI@2x

vladholubiev commented 11 months ago

2023-09-14T11 12 36-MiCBk9KD@2x