Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "fix: upgrade node default runtime to 14" #7763

Merged
merged 1 commit into from
Jul 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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