Go AWS SDK V2 - Error in Deploying to AWS Lambda #2719
Unanswered
dmitrimahayana
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
Currently, I am deploying my golang to AWS Lambda using sam build with go version is
go1.23rc2 windows/amd64
.But it always fails in the build process with error:
This is my go.mod:
And this is my lambda folder structure:

I follow this guide (https://docs.aws.amazon.com/lambda/latest/dg/golang-package.html) to create template.yaml.
This is the template.yaml:
Please help if you find the issue in my code.
Beta Was this translation helpful? Give feedback.
All reactions