strong-printer-79519
03/02/2022, 6:50 AMaws:lambda/function:Function resource ’name-of-lambda has a problem: expected runtime to be one of [nodejs nodejs4.3 nodejs6.10 nodejs8.10 nodejs10.x nodejs12.x nodejs14.x java8 java8.al2 java11 python2.7 python3.6 python3.7 python3.8 python3.9 dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 dotnetcore3.1 nodejs4.3-edge go1.x ruby2.5 ruby2.7 provided provided.al2], got dotnet6. Examine values at ‘Function.Runtime’.
Version 4.38.0 does contain dotnet 6:
export declare const Runtime: {
readonly DotnetCore2d1: “dotnetcore2.1”;
readonly DotnetCore3d1: “dotnetcore3.1";
readonly Dotnet6: “dotnet6”; <————— HERE
readonly Go1dx: “go1.x”;
readonly Java8: “java8”;
readonly Java8AL2: “java8.al2";
readonly Java11: “java11”;
readonly Ruby2d5: “ruby2.5";
readonly Ruby2d7: “ruby2.7”;
readonly NodeJS10dX: “nodejs10.x”;
readonly NodeJS12dX: “nodejs12.x”;
readonly NodeJS14dX: “nodejs14.x”;
readonly Python2d7: “python2.7”;
readonly Python3d6: “python3.6";
readonly Python3d7: “python3.7”;
readonly Python3d8: “python3.8";
readonly Custom: “provided”;
readonly CustomAL2: “provided.al2";
};
Can anyone help for a quick fix?stocky-restaurant-98004
03/02/2022, 5:18 PMdotnet6
is not supported in the AWS API yet.strong-printer-79519
03/09/2022, 10:55 AMstocky-restaurant-98004
03/09/2022, 8:10 PM