The latest version of the runtime installed with pip3 reports that go1.x runtime is not supported.
Attempt to build the default go hello-world project.
https://gist.github.com/aidanh010/a87abd2d63ce8e42c9649cd6ebc35656
Should build correctly as this is default code and the go1.x is listed as supported in readme.
17134.471sam --version: SAM CLI, version 0.9.0Figured it out thanks to AWS Developers Slack. Go isn't supported for build only, I wish the error message was clearer.
This tripped me up for a bit until I found this issue report. Hope it gets resolved satisfactorily soon.
Figured it out thanks to AWS Developers Slack. Go isn't supported for build only, I wish the error message was clearer.
I was having reading comprehension issues, so rewording: sam build does not work for golang, but the rest of the sam commands do. Use the Makefile's make build command, which runs go build.
Related issues:
dep support: #888
modules support: #968
Most helpful comment
Figured it out thanks to AWS Developers Slack. Go isn't supported for build only, I wish the error message was clearer.