I have created an AWS Lambda function using Lambda Custom Runtime on Amazon Linux 2 which generates an example that, if I execute the example, it fails with permission denied error:
Response
{
"errorMessage": "RequestId: f6adb86a-7fbd-4ed5-85d8-2e07edda78e6 Error: fork/exec /var/task/bootstrap: permission denied",
"errorType": "Runtime.InvalidEntrypoint"
}
I am trying to use custom runtime to run a bash script in Lambda. Anyone know how I can fix this permission issue?