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
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
Upgrade CDK version
Refactor JobDefinition's to use updated constructs per the newly supported aws-cdk-lib/aws-batch submodule.
Testing
Unit tests updated to:
Check for supported lambda runtime
Check for Batch Job Definition equivalence with cdk-synthesized older version of source code.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
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 ecrauto_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
JobDefinition
's to use updated constructs per the newly supportedaws-cdk-lib/aws-batch
submodule.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.