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
null

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

Seems there is an open issue on serverless.