Zip and Lambda

Recently I was implementing the AWS custom runtime tutorial on a windows machine. When I created a zip of bootstrap and function.sh in windows zip, the file loaded ok, but on testing it failed with response.txt having:

{"errorType":"Runtime.ExitError","errorMessage":"RequestId: b47...Error: Runtime failed to start: fork/exec /var/task/bootstrap: permission denied"}

When the same setup is done on Fedora using its zip, the lambda test runs successfully - it could be that windows zip is altering the permissions. A Cloud9 development environment may be better for Windows shops.

Posted by John Borden at 25 August 2019, 2:28 am link