awslabs / aws-lambda-powershell-runtime

This new PowerShell custom runtime for AWS Lambda makes it even easier to run Lambda functions written in PowerShell to process events.
Apache License 2.0
59 stars 20 forks source link

Added support for the provided.al2023 runtime. #26

Closed austoonz closed 10 months ago

austoonz commented 10 months ago

Issue #, if available: N/A Description of changes:

AWS Lambda released support for the Amazon Linux 2023 runtime. This change updates the appropriate samples and templates to support this runtime.

In my local testing, provided.al2023 cold starts ~200ms faster than provided.al2 when using 2048MB Memory. As such, the demo functions in this repository have been updated to use the newer runtime. This change should not affect any downstream usage of the runtime layer included by default, as the layer is only updated to add the flag, indicating support for provided.al2023. To actually change this, consumers will need to change their Lambda Function configurations.

Please note the Provided Runtime options section of the powershell-runtime readme, which includes specifics around what's needed to make this change in your Lambda Functions.

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

julianwood commented 10 months ago

Thanks for merging @austoonz :-) You beat me to it! Great that the new runtime also has a performance boost.