From 91ea2015690045a68c5a7c2ba29a99e00cf31ffc Mon Sep 17 00:00:00 2001 From: Lakshmi Pillai Date: Wed, 9 Aug 2023 20:54:22 +0100 Subject: [PATCH 1/2] Updated the node runtime from v14 to v18 --- .nvmrc | 2 +- cdk/lib/support-reminders.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.nvmrc b/.nvmrc index 7fd0237..3c03207 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.15.0 +18 diff --git a/cdk/lib/support-reminders.ts b/cdk/lib/support-reminders.ts index 482c1e9..7711327 100644 --- a/cdk/lib/support-reminders.ts +++ b/cdk/lib/support-reminders.ts @@ -32,7 +32,7 @@ export class SupportReminders extends GuStack { // ---- Miscellaneous constants ---- // const app = "support-reminders"; const vpc = GuVpc.fromIdParameter(this, "vpc"); - const runtime = Runtime.NODEJS_14_X; + const runtime = Runtime.NODEJS_18_X; const fileName = "support-reminders.zip"; const environment = { "Bucket": props.datalakeBucket, From f003de8d159f742194d5aab784db68f1eac3c628 Mon Sep 17 00:00:00 2001 From: Lakshmi Pillai Date: Wed, 9 Aug 2023 21:01:08 +0100 Subject: [PATCH 2/2] Updated the snapshots --- .../support-reminders.test.ts.snap | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/cdk/lib/__snapshots__/support-reminders.test.ts.snap b/cdk/lib/__snapshots__/support-reminders.test.ts.snap index 2fc9a53..bf5e20a 100644 --- a/cdk/lib/__snapshots__/support-reminders.test.ts.snap +++ b/cdk/lib/__snapshots__/support-reminders.test.ts.snap @@ -1372,7 +1372,7 @@ exports[`The SupportReminders stack matches the snapshot 1`] = ` "Arn", ], }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "App", @@ -1602,7 +1602,7 @@ exports[`The SupportReminders stack matches the snapshot 1`] = ` "Arn", ], }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "App", @@ -1832,7 +1832,7 @@ exports[`The SupportReminders stack matches the snapshot 1`] = ` "Arn", ], }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "App", @@ -2207,7 +2207,7 @@ exports[`The SupportReminders stack matches the snapshot 1`] = ` "Arn", ], }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "App", @@ -2437,7 +2437,7 @@ exports[`The SupportReminders stack matches the snapshot 1`] = ` "Arn", ], }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "App", @@ -4158,7 +4158,7 @@ exports[`The SupportReminders stack matches the snapshot 2`] = ` "Arn", ], }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "App", @@ -4388,7 +4388,7 @@ exports[`The SupportReminders stack matches the snapshot 2`] = ` "Arn", ], }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "App", @@ -4618,7 +4618,7 @@ exports[`The SupportReminders stack matches the snapshot 2`] = ` "Arn", ], }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "App", @@ -4993,7 +4993,7 @@ exports[`The SupportReminders stack matches the snapshot 2`] = ` "Arn", ], }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "App", @@ -5223,7 +5223,7 @@ exports[`The SupportReminders stack matches the snapshot 2`] = ` "Arn", ], }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "App",