From 91eab17c5af8a92179207cb3b0915f2dea907926 Mon Sep 17 00:00:00 2001 From: Steven Askwith Date: Wed, 13 Nov 2024 14:33:06 +0000 Subject: [PATCH] Updated CDK pipeline and package versions Added 10 min timeout to Upload model to car Step Function --- lib/cdk-pipeline-stack.ts | 2 +- lib/constructs/models-manager-car-upload-step-function.ts | 1 + package.json | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/cdk-pipeline-stack.ts b/lib/cdk-pipeline-stack.ts index 125433f7..a3f99cc7 100644 --- a/lib/cdk-pipeline-stack.ts +++ b/lib/cdk-pipeline-stack.ts @@ -12,7 +12,7 @@ import { DeepracerEventManagerStack } from './drem-app-stack'; // Constants const NODE_VERSION = '18'; // other possible options: stable, latest, lts -const CDK_VERSION = '2.122.0'; // other possible options: latest +const CDK_VERSION = '2.166.0'; // other possible options: latest const AMPLIFY_VERSION = '12.8.2'; export interface InfrastructurePipelineStageProps extends cdk.StackProps { diff --git a/lib/constructs/models-manager-car-upload-step-function.ts b/lib/constructs/models-manager-car-upload-step-function.ts index 480d9c45..a9eab84c 100644 --- a/lib/constructs/models-manager-car-upload-step-function.ts +++ b/lib/constructs/models-manager-car-upload-step-function.ts @@ -211,6 +211,7 @@ export class CarUploadStepFunction extends Construct { this.stepFunction = new stepFunctions.StateMachine(this, 'CarStatusUpdater', { definition: definition, tracingEnabled: true, + timeout: Duration.minutes(10), /*logs: { destination: car_status_update_SM_log_group, level: stepFunctions.LogLevel.ALL, diff --git a/package.json b/package.json index de23d024..bc3760e8 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@types/prettier": "3.0.0", "@typescript-eslint/eslint-plugin": "^6.5.0", "@typescript-eslint/parser": "^6.5.0", - "aws-cdk": "2.93.0", + "aws-cdk": "2.122.0", "eslint": "^8.48.0", "eslint-config-node": "^4.1.0", "eslint-config-prettier": "^9.0.0", @@ -55,8 +55,8 @@ "typescript": "5.2.2" }, "dependencies": { - "@aws-cdk/aws-lambda-python-alpha": "^2.93.0-alpha.0", - "aws-cdk-lib": "2.93.0", + "@aws-cdk/aws-lambda-python-alpha": "^2.122.0-alpha.0", + "aws-cdk-lib": "2.122.0", "awscdk-appsync-utils": "^0.0.190", "cdk-nag": "2.27.111", "cdk-serverless-clamscan": "^2.5.64",