diff --git a/README.md b/README.md index 68ab361..5021795 100644 --- a/README.md +++ b/README.md @@ -246,7 +246,7 @@ The permissions can also be added to all lambdas using setting the role to `IamR ```yaml provider: name: aws - runtime: nodejs10.x + runtime: nodejs14.x iamRoleStatements: - Effect: 'Allow' Action: diff --git a/src/warmer.js b/src/warmer.js index ce5224e..0cf02cf 100644 --- a/src/warmer.js +++ b/src/warmer.js @@ -218,7 +218,7 @@ function addWarmUpFunctionToService(service, warmerName, warmerConfig) { handler: warmerConfig.pathHandler, memorySize: warmerConfig.memorySize, name: warmerConfig.name, - runtime: 'nodejs12.x', + runtime: 'nodejs14.x', package: warmerConfig.package, timeout: warmerConfig.timeout, ...(Object.keys(warmerConfig.environment).length diff --git a/test/utils/configUtils.js b/test/utils/configUtils.js index be6136a..1c9251a 100644 --- a/test/utils/configUtils.js +++ b/test/utils/configUtils.js @@ -66,7 +66,7 @@ function getExpectedFunctionConfig(options = {}) { handler: path.join('.warmup', warmerName, 'index.warmUp'), memorySize: 128, name: `warmup-test-dev-warmup-plugin-${warmerName}`, - runtime: 'nodejs12.x', + runtime: 'nodejs14.x', package: { individually: true, exclude: ['**'],