https://pulumi.com logo
#general
Title
# general
b

breezy-agency-15661

12/13/2019, 1:49 AM
By default, it creates Node 8 runtime, though I have upgraded pulumi to the latest
w

white-balloon-205

12/13/2019, 3:11 AM
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