aws-samples / host-yolov8-on-sagemaker-endpoint

MIT No Attribution
35 stars 24 forks source link

Updating CDK version due unsupported Node.js runtime #19

Closed scottenriquez closed 3 months ago

scottenriquez commented 4 months ago

Issue #, if available: When running cdk deploy, I received the following error: The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions.

After doing some research, I determined that this was being caused by the older version of CDK. Upgrading the version allowed me to successfully deploy the stack.

Description of changes:

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