Skip to content

Commit

Permalink
update setup script runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
marioasdf committed Mar 5, 2019
1 parent 22e241a commit fab2ebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/setup/create-cf-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function updateOrCreateFunction(name, code, role) {
return new Promise(function(resolve, reject) {
lambda.updateFunctionConfiguration({
FunctionName: name,
Runtime: 'nodejs4.3'
Runtime: 'nodejs8.10'
}, function(err) {
if (err) return reject(err);
resolve(result);
Expand All @@ -119,7 +119,7 @@ function updateOrCreateFunction(name, code, role) {
lambda.createFunction({
FunctionName: name,
Handler: 'index.handler',
Runtime: 'nodejs4.3',
Runtime: 'nodejs8.10',
Role: role.Arn,
MemorySize: 256,
Publish: true,
Expand Down

0 comments on commit fab2ebc

Please sign in to comment.