Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package-python.sh mistakes? #103

Open
drzhouq opened this issue Jun 17, 2021 · 0 comments
Open

package-python.sh mistakes? #103

drzhouq opened this issue Jun 17, 2021 · 0 comments

Comments

@drzhouq
Copy link

drzhouq commented Jun 17, 2021

In the package-python.sh, the /lib and /share folders are copied down to the /lambda folder, then zipped under ./python. Although the python/lambda-deploy.zip contains /lib and /share, but they are under ./python/share ./python/lib. This makes them not available as /opt/lib/ /opt/share when it deploys to lambda as a single layer.

Therefore, the zip command needs to be modified to make sure /lib and /share is at the same level of ./python, not under .python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant