Is 'dotnet8' supported as lambda runtime ? The do...
# aws
s
Is 'dotnet8' supported as lambda runtime ? The documentation says yes, but pulumi preview says no. Anyone got it working ? awslambdaFunction (fn1): error: awslambda/functionFunction resource 'fn1' has a problem: expected runtime to be one of [nodejs nodejs4.3 nodejs6.10 nodejs8.10 nodejs10.x nodejs12.x nodejs14.x nodejs16.x java8 java8.al2 java11 python2.7 python3.6 python3.7 python3.8 python3.9 dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 dotnetcore3.1 dotnet6 nodejs4.3-edge go1.x ruby2.5 ruby2.7 provided provided.al2 nodejs18.x python3.10 java17], got dotnet8. Examine values at 'Function.Runtime'.
c
@stale-zoo-97300 heads up, I ran into this one too. Turns out my pulumi project was running on dotnet7 (not to be confused with the lambda I wanted to upload, which is dotnet8). Anyways, upgrading my project from 7 to 8 and installing the latest package version did it for me Pulumi.Aws 6.33.1 at the time of this post.
s
Thanks Matt ! Working now, I was missing the upgrade of the aws plugin, for some reason I thought upgrading pulumi was enough.