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.
Compiled the GO code and put the executable named bootstrap on a folder called "lambda"
Changed cdk.go to incorporate the new Runtime Amazon Linux New
function := awslambda.NewFunction(stack, jsii.String("bedrock-imagegen-s3"),
&awslambda.FunctionProps{
Code: awslambda.Code_FromAsset(jsii.String("lambda"), nil), //folder where bootstrap executable is located
Runtime: awslambda.Runtime_PROVIDED_AL2023(),
Handler: jsii.String("bootstrap"), // Handler named bootstrap
Architecture: awslambda.Architecture_X86_64(),
})
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.