Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support provided.al2023 runtime #2945

Closed
davidjb opened this issue Nov 13, 2023 · 2 comments
Closed

Support provided.al2023 runtime #2945

davidjb opened this issue Nov 13, 2023 · 2 comments

Comments

@davidjb
Copy link

davidjb commented Nov 13, 2023

CloudFormation Lint Version

cfn-lint 0.83.1 (but built from latest main @ 6f5c89f)

What operating system are you using?

Ubuntu

Describe the bug

provided.al2023 (https://aws.amazon.com/blogs/compute/introducing-the-amazon-linux-2023-runtime-for-aws-lambda/) is not currently supported as a valid runtime by cfn-lint:

E3030 You must specify a valid value for Runtime (provided.al2023). Valid values are ["dotnet6", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "go1.x", "java11", "java17", "java8", "java8.al2", "nodejs", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "nodejs18.x", "nodejs20.x", "nodejs4.3", "nodejs4.3-edge", "nodejs6.10", "nodejs8.10", "provided", "provided.al2", "python2.7", "python3.10", "python3.11", "python3.6", "python3.7", "python3.8", "python3.9", "ruby2.5", "ruby2.7", "ruby3.2"]
/

Expected behavior

Template to validate correctly

Reproduction template

AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31
Resources:
  MyFunction:
    Type: AWS::Serverless::Function
    Metadata:
      BuildMethod: go1.x
    Properties:
      CodeUri: myfunction/
      Handler: bootstrap
      Runtime: provided.al2023
@kddejong
Copy link
Contributor

@kddejong
Copy link
Contributor

Merged and release with v0.83.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants