serverless/serverless

Missing support for Ruby 3.3 runtime

Opened this issue · 0 comments

Issue description

AWS has recently added support for Ruby 3.3 runtimes: https://aws.amazon.com/about-aws/whats-new/2024/04/aws-lambda-ruby-3-3/

When running any serverless command (e.g. yarn sls info), the output is accompanied by a warning about the runtime:

Warning: Invalid configuration encountered
  at 'provider.runtime': must be equal to one of the allowed values [dotnet6, go1.x, java17, java11, java8, java8.al2, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, provided, provided.al2, provided.al2023, python3.7, python3.8, python3.9, python3.10, python3.11, ruby2.7, ruby3.2]

Fortunately, the functions can be deployed, and are working in a Ruby 3.3 runtime container. So, it's only an inconvenience (and a no-longer-applicable-warning) and not a problem.

I've opened a PR to address: #12420

Context

From serverless.yml

frameworkVersion: "^3.38.0"

provider:
  name: aws
  runtime: ruby3.3