Skip to content

Commit

Permalink
using latest node runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
achrafsouk authored Sep 17, 2024
1 parent b3908ca commit cc8d8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/custom-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class helperCustomResource extends Construct {

const onEvent = new lambda.SingletonFunction(this, 'crSingleton', {
uuid: props.ID,
runtime: lambda.Runtime.NODEJS_18_X,
runtime: lambda.Runtime.NODEJS_LATEST,
handler: "index.handler",
timeout: cdk.Duration.seconds(60),
code: lambda.Code.fromAsset("lambda/custom-resource"),
Expand Down

0 comments on commit cc8d8cf

Please sign in to comment.