Skip to content

Commit

Permalink
chore(runtime): upgrade to nodejs12 (#513)
Browse files Browse the repository at this point in the history
could upgrade to nodejs14 too but I'd suggest moving one major version
at a time in case there are any issues
  • Loading branch information
mfulton26 authored Apr 12, 2021
1 parent af51e2a commit b6d83f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/rest-api/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ custom:

provider:
name: aws
runtime: nodejs10.x
runtime: nodejs12.x
logs:
restApi:
format: '$context.requestTimeEpoch $context.requestId $context.httpMethod $context.resourcePath $context.status $context.responseLatency'
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class ServerlessEsLogsPlugin {
include: [`${this.logProcesserDir}/**`],
individually: true,
},
runtime: 'nodejs10.x',
runtime: 'nodejs12.x',
timeout: 60,
tracing: false,
};
Expand Down
2 changes: 1 addition & 1 deletion test/support/ServerlessBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class ServerlessBuilder {
},
name: 'aws',
region: 'us-east-1',
runtime: 'nodejs10.x',
runtime: 'nodejs12.x',
stage: 'dev',
},
},
Expand Down

0 comments on commit b6d83f7

Please sign in to comment.