aws-samples/powertools-for-aws-lambda-workshop

Feat(java): Update all Lambda functions to Java 21

saragerion opened this issue · 1 comments

The deployment process for the Java application is impacted by a CDK nag error:

AwsSolutions-L1
The non-container Lambda function is not configured to use the latest runtime version.
Use the latest available runtime for the targeted language to avoid technical debt. Runtimes specific to a language or framework version are deprecated when the version reaches end of life. This rule only applies to non-container Lambda functions.

Screenshot 2024-02-29 at 20 05 42

Solution: update of runtimes to use java version 21.

Runtime version update merged in PR #45. Thank you!