-
Notifications
You must be signed in to change notification settings - Fork 145
Description
I followed https://github.com/awslabs/aws-lambda-web-adapter?tab=readme-ov-file#lambda-functions-packaged-as-zip-package-for-aws-managed-runtimes to create a zip package in Windows.
When I deploy it I got the following error
/opt/bootstrap: line 3: /var/task/run.sh: cannot execute: required file not found
However if I create the zip package in Linux everything is fine.
I guess it is related to file's execute permission.
Is there any way to create a run.sh that is executable in Lambda runtime without any permission error?
I don't think it is directly related but just to be sure I also share my build script.
I used exactly the same build script in both Windows and Linux.
The script does cross build Python deployment package.
In both Windows and Linux, host is x86_64 and I built aarch64 package.
https://github.com/lucidfrontier45/python-uv-template/blob/main/awslambda/build_package.nu