You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey everyone, we started to plan upgrade to nodejs20 - our custom lambdas and logRetention lambdas are successfully upgraded after upgrade to sst v2.45.0 and aws-cdk-lib: v2.171.1. But the CustomResourceHandlers are still showing runtime nodejs18. Coudl you please look into this and let me know how we can overcome this issue.
Hey @jayair, @fwang please take a look at this proposed Spec and let me know your thoughts. There are bunch of files that are involved in Custom resource creation and most of the runtime is hard coded to NODEJS_18_X.
Spec for Updating runtime for Custom resources:
Update runtime to NodeJS_20_X in packages/sst/src/constructs Function.ts
Update runtime to NodeJS_20_X in packages/sst/src/constructs Function.test.ts
Update runtime to NodeJS_20_X in packages/sst/src bootrstrap.ts
Update runtime to NodeJS_20_X in packages/sst/src/constructs EdgeFunction.ts
Update runtime to NodeJS_20_X in packages/sst/src/constructs EventBus.ts
Update runtime to NodeJS_20_X in packages/sst/src/constructs Jobs.ts
Update runtime to NodeJS_20_X in packages/sst/src/constructs RDS.ts
Update runtime to NodeJS_20_X in packages/sst/src/constructs Script.ts
Update runtime to NodeJS_20_X in packages/sst/src/constructs Stack.ts
Update runtime to NodeJS_20_X in packages/sst/src/constructs/cdk dns-validate-certificate.ts
Hey everyone, we started to plan upgrade to nodejs20 - our custom lambdas and logRetention lambdas are successfully upgraded after upgrade to sst v2.45.0 and aws-cdk-lib: v2.171.1. But the CustomResourceHandlers are still showing runtime nodejs18. Coudl you please look into this and let me know how we can overcome this issue.
The problem could be here :
here the live.lambda runtime is nodejs18: https://github.com/sst/v2/blob/master/packages/sst/src/constructs/Function.ts#L977
and here could be the reason of our issue: https://github.com/sst/v2/blob/master/packages/sst/src/constructs/Function.ts#L1031
The text was updated successfully, but these errors were encountered: