Skip to content

Commit

Permalink
Revert "fix: upgrade node default runtime to 14 (#7700)" (#7763)
Browse files Browse the repository at this point in the history
This reverts commit 47968cc.
  • Loading branch information
ammarkarachi authored Jul 20, 2021
1 parent aadc915 commit 3ab8769
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
}
},
"Handler": "index.handler",
"Runtime": "nodejs14.x",
"Runtime": "nodejs12.x",
"Timeout": "300",
"Role": {
"Fn::GetAtt": ["LambdaExecutionRole", "Arn"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ Resources:
- ' }'
- '};'
Handler: index.handler
Runtime: nodejs14.x
Runtime: nodejs12.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -507,7 +507,7 @@ Resources:
Handler: index.handler
Runtime: nodejs14.x
Runtime: nodejs12.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -659,7 +659,7 @@ Resources:
- '} '
Handler: index.handler
Runtime: nodejs14.x
Runtime: nodejs12.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -758,7 +758,7 @@ Resources:
- '}'
Handler: index.handler
Runtime: nodejs14.x
Runtime: nodejs12.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -888,7 +888,7 @@ Resources:
- ' }'
- '};'
Handler: index.handler
Runtime: nodejs14.x
Runtime: nodejs12.x
Timeout: '300'
Role: !GetAtt
- MFALambdaRole
Expand Down Expand Up @@ -1048,7 +1048,7 @@ Resources:
- ' }'
- '};'
Handler: index.handler
Runtime: nodejs14.x
Runtime: nodejs12.x
Timeout: '300'
Role: !GetAtt
- OpenIdLambdaRole
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
}
},
"Handler": "index.handler",
"Runtime": "nodejs14.x",
"Runtime": "nodejs12.x",
"Timeout": "300",
"Role": {
"Fn::GetAtt": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ function generateLambdaAccessForRekognition(identifyCFNFile, functionName, s3Res
},
},
Handler: 'index.handler',
Runtime: 'nodejs14.x',
Runtime: 'nodejs12.x',
Timeout: '300',
Role: {
'Fn::GetAtt': ['CollectionsLambdaExecutionRole', 'Arn'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
}
},
"Handler": "index.handler",
"Runtime": "nodejs14.x",
"Runtime": "nodejs12.x",
"Timeout": "300",
"Role": {
"Fn::GetAtt": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('nodejs version migration tests', () => {
);
let authStackContent = fs.readFileSync(authStackFileName).toString();

authStackContent = authStackContent.replace('nodejs14.x', 'nodejs10.x');
authStackContent = authStackContent.replace('nodejs12.x', 'nodejs10.x');

fs.writeFileSync(authStackFileName, authStackContent, 'utf-8');

Expand Down

0 comments on commit 3ab8769

Please sign in to comment.