-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Description
After deploying the Go Hello World quickstart example (without any modifications), the deployed Lambda fails to run, with a file not found error.
Steps to reproduce
sam init --runtime go1.x- Select the
Hello World Example makethe project (orsam build)sam deploy --guided- Either hit the deployed API, or test the Lambda via the console
- Observe the function fails to execute
Observed result
The following error is visible in the Lambda console:
{
"errorMessage": "fork/exec /var/task/hello-world: no such file or directory",
"errorType": "PathError"
}Expected result
The Lambda executes.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
- OS: Ubuntu 20.04, kernal 5.4.0-42
sam --version: SAM CLI, version 1.0.0go version: go version go1.14.5 linux/amd64
rts-rob, awsjeffg, yogesnsamy, samueldaviddelacruz and townsymush