I am attempting to deploy my code to AWS Lambda. I've written it in Go. It builds just fine but I receive this error when running it via the Lambda test functionality:
{
"errorMessage": "fork/exec /var/task/github-activity: no such file or directory",
"errorType": "PathError"
}
You can view the full code at: https://github.com/JustinDFuller/github-activity I have tested and seen that it works fine on my machine. (I've tried on windows and linux).
The file I am deploying is made by running the following commands:
GOOS=linux GOARCH=amd64 go build -o main awsLambdaImpl.go
zip main.zip main