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

fix: upgrade node default runtime to 14 #7700

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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": "nodejs12.x",
"Runtime": "nodejs14.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: nodejs12.x
Runtime: nodejs14.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -507,7 +507,7 @@ Resources:


Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs14.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -659,7 +659,7 @@ Resources:
- '} '

Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs14.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -758,7 +758,7 @@ Resources:
- '}'

Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs14.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -879,7 +879,7 @@ Resources:
- ' }'
- '};'
Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs14.x
Timeout: '300'
Role: !GetAtt
- MFALambdaRole
Expand Down Expand Up @@ -1039,7 +1039,7 @@ Resources:
- ' }'
- '};'
Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs14.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": "nodejs12.x",
"Runtime": "nodejs14.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: 'nodejs12.x',
Runtime: 'nodejs14.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": "nodejs12.x",
"Runtime": "nodejs14.x",
"Timeout": "300",
"Role": {
"Fn::GetAtt": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('nodejs version migration tests', () => {

fs.writeFileSync(projectConfigFileName, projectConfigContent, 'utf-8');

// Write back the nodejs version to 'node10.x' to test migration
// Write back the nodejs version to 'node12.x' to test migration
michaelbrewer marked this conversation as resolved.
Show resolved Hide resolved
const authResourceName = Object.keys(meta.auth)[0];
const authStackFileName = path.join(
projectRoot,
Expand Down