By default, it creates Node 8 runtime, though I ha...
# general
b
By default, it creates Node 8 runtime, though I have upgraded pulumi to the latest
w
We are working on updating the default for all new callback-based Lambdas to Node10 - see https://github.com/pulumi/pulumi-aws/pull/825. I’m the meantime - there are two options: 1. Use
aws.lambda.CallbackFunction
which let’s use still use a callback but also customize any other inputs. https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/lambda/#CallbackFunction 2. Use a single
pulumi.runtime.registerStackTransformation
to override the
runtime:
property on all Lambda resources. https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/runtime/#registerStackTransformation
👍 1