-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lambda] lambda.Runtime.GO_1_X.bundlingDockerImage doesn't exist #9435
Comments
It looks like there are no images in Dockerhub tagged 'latest' for Go and Dotnetcore. @iph - do you happen to know about this? Is is just a delay? |
The official docker images for lambda are not available yet for Go and dotnet core runtimes. Switch back to using lambdaci in these cases. fixes #9435
The official docker images for lambda are not available yet for Go and dotnet core runtimes. Switch back to using lambdaci in these cases. fixes #9435 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Oh nice, just found this feature myself. Can't wait for #9465 to land 😅 👍 |
The official docker images for lambda are not available yet for Go and dotnet core runtimes. Switch back to using lambdaci in these cases. fixes #9435 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
It is better to use ECR so that you don't get random rate limits by DockerHub. We had this recently where we couldn't deploy anything. The solution is to just reference the ECR public mirror like so: new lambda.Function(this, 'Function', {
code: lambda.Code.fromAsset('path', {
bundling: {
image: cdk.DockerImage.from_registry("public.ecr.aws/sam/build-go1.x:latest"),
...
}
}),
...
}; |
@joekendal I recently faced rate limiting issue in my CI job and tried out your approach but then realized that |
The Golang bundlingDockerImage was recently updated to use a new docker image. It looks like there are no images in the dockerhub repository though.
amazon/aws-sam-cli-build-image-go1.x:latest
https://hub.docker.com/r/amazon/aws-sam-cli-build-image-go1.x
Reproduction Steps
Try and create a Golang lambda using bundling.
Then when trying to deploy
What did you expect to happen?
Should be able to find the image.
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: