Lambda layers publish by shelf no longer working?
andreverheij opened this issue · 4 comments
andreverheij commented
Hi Team,
have been using your great lambda Layer to generate PDF's in a Lambda, but now deploying a new lambda with the same code and version of the layer etc and get error "Cannot find module 'chrome-aws-lambda' "
currently deployed Lambda's are working, just not new ones it seems. Are you no longer providing this shared layer?
Regards, Andre
vladholubiev commented
Your code now needs to import @sparticuz/chrome-aws-lambda package instead
See #42
andreverheij commented
ah.. how did I not figure that out, Apologies.
chrisbloe commented
Thanks for this... Please could you add a note to readme.md? I think a lot of people will be caught out by this!
vladholubiev commented
