build-on-aws / amazon-bedrock-lambda-image-generation-golang

Serverless image generation with Amazon Bedrock and AWS Lambda
MIT No Attribution
2 stars 1 forks source link

[BUG] - The runtime parameter of go1.x is no longer supported #2

Open fichmann opened 6 months ago

fichmann commented 6 months ago

Can we update the Go runtime to be able to deploy the solution? Looks like Go runtime is now replaced with provided_al2 but needs a small change on the CDK function to call it from the asset folder.

fichmann commented 6 months ago

https://aws.amazon.com/blogs/compute/migrating-aws-lambda-functions-from-the-go1-x-runtime-to-the-custom-runtime-on-amazon-linux-2/

fichmann commented 6 months ago

I was able to fix it: