Skip to content

Commit

Permalink
feat: switch from nodejs12.x to nodejs14.x
Browse files Browse the repository at this point in the history
  • Loading branch information
abetomo authored and juanjoDiaz committed Feb 18, 2021
1 parent c1f2db9 commit 8ef605d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/warmer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/utils/configUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: ['**'],
Expand Down

0 comments on commit 8ef605d

Please sign in to comment.