diegoparrilla / headless-chrome-aws-lambda-layer

Headless Chrome prepared to run as a layer in AWS lambda with Python >=3.8 and Amazon Linux 2
Apache License 2.0
72 stars 15 forks source link

Issues deploying into AWS #2

Open boeschl opened 2 years ago

boeschl commented 2 years ago

I have been trying to deploy and use this layer for a couple days now and no way of making it work. Must possibly can be a very stupid issue on my side, but need the support.

I have followed the instructions, deploying the layer using the steps outline and also downloading the zip and creating the layer manually in the console. And always gets the same result, the layer is created but when trying to incorporate it is not complete. I have verified in the local machine the zip file and it contains all the info. But on the lambda layer it shows at /opt chromedriver, headless files correctly and the directories. BUT all the directories are empty, so when using the import from it does not find the components

Any ideas why this could be the case?

This is the directory listing from the lambda layer when imported Function Logs START RequestId: 68959c55-1d03-4bf0-b271-331cf4a80c69 Version: $LATEST /opt/chromedriver /opt/headless-chromium /opt/bin Subdirs /opt/etc Subdirs /opt/lib Subdirs /opt/python Subdirs /opt/share Subdirs /opt/swiftshader Subdirs END RequestId: 68959c55-1d03-4bf0-b271-331cf4a80c69