From b4fa97f99f1d77e2979432db6d3b34d27bb31b3c Mon Sep 17 00:00:00 2001 From: gmbronco <83549293+gmbronco@users.noreply.github.com> Date: Fri, 7 Jun 2024 12:25:23 +0200 Subject: [PATCH] test node 18 --- index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.ts b/index.ts index 5cbe9ef..ff216c6 100644 --- a/index.ts +++ b/index.ts @@ -269,6 +269,8 @@ export class BalancerPoolsAPI extends Stack { const getPoolLambda = new NodejsFunction(this, 'getPoolFunction', { entry: join(__dirname, 'src', 'lambdas', 'get-pool.ts'), ...nodeJsFunctionProps, + runtime: Runtime.NODEJS_18_X, + bundling: undefined, }); const getPoolsLambda = new NodejsFunction(this, 'getPoolsFunction', { entry: join(__dirname, 'src', 'lambdas', 'get-pools.ts'),