miniature-potato-84713
11/20/2019, 8:51 PMruntime: aws.lambda.NodeJS8d10Runtime,
but then received an email from AWS that that runtime will be obsoleted:
your AWS Account currently has one or more Lambda functions using Node.js 8.10, which will reach its EOL at the end of 2019.So I wanted to switch to then next version but
error TS2551: Property 'NodeJS10dXRuntime' does not exist on type 'typeof import("/.../node_modules/@pulumi/aws/lambda/i...'. Did you mean 'NodeJS6d10Runtime'
Note that NodeJS10dXRuntime
is still documented here: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/lambda/#NodeJS10dXRuntime
So I changed to using the string "nodejs10.x"
which didn’t work
error: aws:lambda/function:Function resource 'language-redirect' has a problem: expected runtime to be one of [dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 go1.x java8 nodejs4.3 nodejs4.3-edge nodejs6.10 nodejs8.10 provided python2.7 python3.6 python3.7 ruby2.5], got nodejs10.x
and then went back to
runtime: "nodejs8.10"
which is the one that will be obsoleted soon.
So… what should I do here?tall-librarian-49374
11/20/2019, 9:05 PMpulumi-aws
?miniature-potato-84713
11/20/2019, 9:08 PM> curl -sSL <https://get.pulumi.com> | sh
=== Upgrading Pulumi v0.17.16 to v1.5.2 ===
Does that not update the modules? Should I wipe the modules folder?tall-librarian-49374
11/20/2019, 9:10 PM@pulumi/aws
.miniature-potato-84713
11/20/2019, 9:15 PMnpm update
, so yes, I now see that module. Although
> npm --version
6.11.3
tall-librarian-49374
11/20/2019, 9:19 PMnpm --version
shows the version of npm itselfminiature-potato-84713
11/20/2019, 9:20 PM> node --version
v10.16.3
tall-librarian-49374
11/20/2019, 9:21 PMnpm list --depth=0