Skip to content

Commit

Permalink
feat: Node.js 20.x (#244)
Browse files Browse the repository at this point in the history
Update runtime to Node.js 20.x for all Lambda functions.
  • Loading branch information
jogold authored Nov 17, 2023
1 parent eb6be8b commit 8ff1ab7
Show file tree
Hide file tree
Showing 35 changed files with 99 additions and 99 deletions.
56 changes: 28 additions & 28 deletions .projen/tasks.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
mavenEndpoint: 'https://s01.oss.sonatype.org',
},
lambdaOptions: {
runtime: awscdk.LambdaRuntime.NODEJS_18_X,
runtime: awscdk.LambdaRuntime.NODEJS_20_X,
},
});

Expand Down
2 changes: 1 addition & 1 deletion package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/email-receiver/s3-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/email-receiver/whitelist-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/slack-app/provider-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/slack-events/events-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/slack-textract/detect-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ssl-server-test/analyze-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ssl-server-test/extract-grade-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/static-website/origin-request-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/toolkit-cleaner/clean-images-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/toolkit-cleaner/clean-objects-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/toolkit-cleaner/extract-template-hashes-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/toolkit-cleaner/get-stack-names-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/url-shortener/redirect-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/url-shortener/shortener-function.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/dmarc/__snapshots__/dmarc-reporter.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/email-receiver/__snapshots__/email-receiver.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/slack-app/__snapshots__/slack-app.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
}
}
},
"119f82e8d0c0a418da240740c5c39f81fdef1d4fd225c34674dc0bd94b04653a": {
"71289559aaf6dcc465d63e061e1c6a732a66d526f73bca730ff7d68e4052f100": {
"source": {
"path": "slack-app-integ.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "119f82e8d0c0a418da240740c5c39f81fdef1d4fd225c34674dc0bd94b04653a.json",
"objectKey": "71289559aaf6dcc465d63e061e1c6a732a66d526f73bca730ff7d68e4052f100.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
}
},
"Handler": "index.handler",
"Runtime": "nodejs18.x"
"Runtime": "nodejs20.x"
},
"DependsOn": [
"SlackAppProviderhandlerServiceRoleDefaultPolicyBAEEA75E",
Expand Down
2 changes: 1 addition & 1 deletion test/slack-events/__snapshots__/slack-events.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/slack-textract/__snapshots__/slack-textract.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
}
}
},
"c304bbe10d55239cc9f3905335b8f876c574b13afff26665b190de1dc11dc8d7": {
"4f754fb35dc164716e452fcd9ebb69c9546df57f79f7d7e533276bbcd924440e": {
"source": {
"path": "ssl-server-test-integ.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "c304bbe10d55239cc9f3905335b8f876c574b13afff26665b190de1dc11dc8d7.json",
"objectKey": "4f754fb35dc164716e452fcd9ebb69c9546df57f79f7d7e533276bbcd924440e.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
}
},
"Handler": "index.handler",
"Runtime": "nodejs18.x",
"Runtime": "nodejs20.x",
"Timeout": 30
},
"DependsOn": [
Expand Down Expand Up @@ -149,7 +149,7 @@
}
},
"Handler": "index.handler",
"Runtime": "nodejs18.x"
"Runtime": "nodejs20.x"
},
"DependsOn": [
"cloudstructssslservertestStateMachineExtractGradeFunctionServiceRole1D034C19"
Expand Down
8 changes: 4 additions & 4 deletions test/static-website/__snapshots__/static-website.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@
}
}
},
"e35310bb093cfec6be74729327f2125c352f734a4e25dd6786921bce9f3af27c": {
"14fd8c2a54dd634868c0496f806f1d30d38056ee29131403ae4e4166ed615812": {
"source": {
"path": "toolkit-cleaner-integ.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "e35310bb093cfec6be74729327f2125c352f734a4e25dd6786921bce9f3af27c.json",
"objectKey": "14fd8c2a54dd634868c0496f806f1d30d38056ee29131403ae4e4166ed615812.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}
},
"Handler": "index.handler",
"Runtime": "nodejs18.x",
"Runtime": "nodejs20.x",
"Timeout": 30
},
"DependsOn": [
Expand Down Expand Up @@ -159,7 +159,7 @@
}
},
"Handler": "index.handler",
"Runtime": "nodejs18.x",
"Runtime": "nodejs20.x",
"Timeout": 30
},
"DependsOn": [
Expand Down Expand Up @@ -301,7 +301,7 @@
}
},
"Handler": "index.handler",
"Runtime": "nodejs18.x",
"Runtime": "nodejs20.x",
"Timeout": 300
},
"DependsOn": [
Expand Down Expand Up @@ -412,7 +412,7 @@
}
},
"Handler": "index.handler",
"Runtime": "nodejs18.x",
"Runtime": "nodejs20.x",
"Timeout": 300
},
"DependsOn": [
Expand Down
Loading

0 comments on commit 8ff1ab7

Please sign in to comment.