sessions-with-aws-sam
sessions-with-aws-sam copied to clipboard
Fix serverless go example
Fixes issue #4
and also an error which I faced trying to start it locally.
/var/task/bootstrap: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /var/task/bootstrap)
Description of changes:
I've added a step to call go init module
to create go.mod
required in following steps. I've also added CGO_ENABLED=0 flag to build staticaly-linked app. Alternatively I can add it to the troubleshooting section in the readme file instead.
Thanks!