awslabs / autonomous-driving-data-framework

ADDF is a collection of modules, deployed using the SeedFarmer orchestration tool. ADDF modules enable users to quickly bootstrap environments for the process and analysis of autonomous driving data.
Apache License 2.0
113 stars 44 forks source link

fix: Upgrade CDK for sensor extraction modules #406

Closed malachi-constant closed 9 months ago

malachi-constant commented 9 months ago

Issue

CloudFormation deprecated the use of node14.x as a runtime for lambda functions. Older cdk versions use this runtime and lower for Custom Resources (in this case ecr auto_delete functionality).

This affects both the ros-to-png & ros-to-parquet modules.

In addition, there are breaking changes as of CDK version 2.74.0 to the aws-cdk-lib/aws-batch-alpha package. This prevented a simple cdk upgrade and required refactoring to support.

Changes

Testing

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.