Unable to execute golang lambda

I tried a simple golang lambda using the steps mentioned https://serverless.com/blog/framework-example-golang-lambda-support/ . The lambda does not execute and throws the following error in cloudwatch:

fork/exec /var/task/bin/main: permission denied: PathError

Are there any extra steps that I need to do, that is missing in the blog post?

Seems there is an open issue on serverless.