Skip to content

Commit 603dab7

Browse files
authored
feat(deps): node22 [INFRA-33946] (#20)
* feat(deps): node22 [INFRA-33946] * run projen...
1 parent 56dd49a commit 603dab7

18 files changed

+222
-1200
lines changed

.projen/deps.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const project = new clickupCdk.ClickUpCdkConstructLibrary({
77
name,
88
author: 'jose-clickup',
99
authorAddress: 'jamoroso@clickup.com',
10-
cdkVersion: '2.178.2',
10+
cdkVersion: '2.189.0',
1111
defaultReleaseBranch: 'main',
1212
experimentalIntegRunner: true,
1313
gitignore: ['.vscode/**'],

package.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-lock.yaml

Lines changed: 37 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/service-quotas-metric-publisher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ export class ServiceQuotasMetricPublisher extends Construct {
6363
const myConstruct = this;
6464

6565
this.handler = new aws_lambda_nodejs.NodejsFunction(myConstruct, 'monitor', {
66-
runtime: aws_lambda.Runtime.NODEJS_18_X,
6766
bundling: {
6867
externalModules: ['@aws-sdk/*'],
6968
minify: true,
7069
},
7170
handler: 'monitor',
7271
logRetention: props.cloudwatchLogsRetention ?? aws_logs.RetentionDays.THREE_MONTHS,
7372
memorySize: 512,
73+
runtime: aws_lambda.determineLatestNodeRuntime(this),
7474
timeout: Duration.seconds(45),
7575
});
7676

test/integ.service-quotas-metric-publisher.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { join } from 'path';
22
import { IntegTest, ExpectedResult } from '@aws-cdk/integ-tests-alpha';
3-
import { App, Stack, StackProps, aws_lambda_nodejs, Duration, aws_iam } from 'aws-cdk-lib';
3+
import { App, Stack, StackProps, aws_lambda, aws_lambda_nodejs, Duration, aws_iam } from 'aws-cdk-lib';
44
import { Construct } from 'constructs';
55
import { Namer } from 'multi-convention-namer';
66
import { IntegTestResources } from './utils/integ-tests-types';
@@ -35,6 +35,7 @@ export class AssertionStack extends Stack {
3535
new aws_lambda_nodejs.NodejsFunction(this, 'GetServiceQuotaLimitIntegRunnerFunction', {
3636
functionName: 'GetServiceQuotaLimitIntegRunnerFunction',
3737
entry: join(__dirname, 'utils/get-service-quotas-metrics.ts'),
38+
runtime: aws_lambda.determineLatestNodeRuntime(this),
3839
timeout: Duration.seconds(15),
3940
}).addToRolePolicy(
4041
new aws_iam.PolicyStatement({

test/integ.service-quotas-metric-publisher.ts.snapshot/HelperMonitorBaseline.assets.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"version": "39.0.0",
2+
"version": "41.0.0",
33
"files": {
44
"abe20e944fd907bb8936dc5db3d6b66fdec6ab095fcf6cbda4178a65ca345dd0": {
5+
"displayName": "GetServiceQuotaLimitIntegRunnerFunction/Code",
56
"source": {
67
"path": "asset.abe20e944fd907bb8936dc5db3d6b66fdec6ab095fcf6cbda4178a65ca345dd0",
78
"packaging": "zip"
@@ -15,15 +16,16 @@
1516
}
1617
}
1718
},
18-
"a73f8eeace0d05808ea7f00b4f6f0c4bae0ef8f635601eba7a26a40c211d63b8": {
19+
"63ccc05498dcc7a6e74965f243c4009987b59e516843f1d468a228f921f08395": {
20+
"displayName": "HelperMonitorBaseline Template",
1921
"source": {
2022
"path": "HelperMonitorBaseline.template.json",
2123
"packaging": "file"
2224
},
2325
"destinations": {
2426
"425845004253-us-west-2": {
2527
"bucketName": "cdk-hnb659fds-assets-425845004253-us-west-2",
26-
"objectKey": "a73f8eeace0d05808ea7f00b4f6f0c4bae0ef8f635601eba7a26a40c211d63b8.json",
28+
"objectKey": "63ccc05498dcc7a6e74965f243c4009987b59e516843f1d468a228f921f08395.json",
2729
"region": "us-west-2",
2830
"assumeRoleArn": "arn:${AWS::Partition}:iam::425845004253:role/cdk-hnb659fds-file-publishing-role-425845004253-us-west-2"
2931
}

test/integ.service-quotas-metric-publisher.ts.snapshot/HelperMonitorBaseline.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"Arn"
6868
]
6969
},
70-
"Runtime": "nodejs18.x",
70+
"Runtime": "nodejs20.x",
7171
"Timeout": 15
7272
},
7373
"DependsOn": [

test/integ.service-quotas-metric-publisher.ts.snapshot/MonitorBaselineSevicesQuotas.assets.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"version": "39.0.0",
2+
"version": "41.0.0",
33
"files": {
44
"d63fb377b13b713bf523e20efac6da8be17fc7cc1d277cb4e84b99941a42f20d": {
5+
"displayName": "MonitorBaselineSevicesQuotas/monitor/Code",
56
"source": {
67
"path": "asset.d63fb377b13b713bf523e20efac6da8be17fc7cc1d277cb4e84b99941a42f20d",
78
"packaging": "zip"
@@ -16,6 +17,7 @@
1617
}
1718
},
1819
"2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d": {
20+
"displayName": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/Code",
1921
"source": {
2022
"path": "asset.2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d",
2123
"packaging": "zip"
@@ -29,15 +31,16 @@
2931
}
3032
}
3133
},
32-
"e81040dced27b2aadfe8cf1cf042fce7fdf5a2a89c0131b54d5d51993ed709bc": {
34+
"d93aa4007e392ad9be8391f74c39f1ddccae30e61115d7609050b58496877ea1": {
35+
"displayName": "MonitorBaselineSevicesQuotas Template",
3336
"source": {
3437
"path": "MonitorBaselineSevicesQuotas.template.json",
3538
"packaging": "file"
3639
},
3740
"destinations": {
3841
"425845004253-us-west-2": {
3942
"bucketName": "cdk-hnb659fds-assets-425845004253-us-west-2",
40-
"objectKey": "e81040dced27b2aadfe8cf1cf042fce7fdf5a2a89c0131b54d5d51993ed709bc.json",
43+
"objectKey": "d93aa4007e392ad9be8391f74c39f1ddccae30e61115d7609050b58496877ea1.json",
4144
"region": "us-west-2",
4245
"assumeRoleArn": "arn:${AWS::Partition}:iam::425845004253:role/cdk-hnb659fds-file-publishing-role-425845004253-us-west-2"
4346
}

test/integ.service-quotas-metric-publisher.ts.snapshot/MonitorBaselineSevicesQuotas.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"Arn"
9090
]
9191
},
92-
"Runtime": "nodejs18.x",
92+
"Runtime": "nodejs20.x",
9393
"Timeout": 45
9494
},
9595
"DependsOn": [

0 commit comments

Comments
 (0)