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

Node16 support in Lambda Runtime #2352

Closed
qmg-akara opened this issue Sep 2, 2022 · 2 comments
Closed

Node16 support in Lambda Runtime #2352

qmg-akara opened this issue Sep 2, 2022 · 2 comments

Comments

@qmg-akara
Copy link

cfn-lint version: (cfn-lint --version)
0.59.0

Description of issue.
Hi guys, thanks for the great work!

We recently upgraded our Lambda functions to Node16 in a SAM template and started getting the following error:

[E3030: Check if properties have a valid value] (You must specify a valid value for Runtime (nodejs16.x). Valid values are ["dotnet6", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "go1.x", "java11", "java8", "java8.al2", "nodejs", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs4.3", "nodejs4.3-edge", "nodejs6.10", "nodejs8.10", "provided", "provided.al2", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "ruby2.5", "ruby2.7"]) matched ./template.yaml:123

CloudFormation template:

...
Globals:
  Function:
    Runtime: nodejs16.x
...
  SampleFunction:
    Type: AWS::Serverless::Function
    Properties:
      FunctionName: sample-function
      CodeUri: dist
      ...
    Metadata:
      BuildMethod: makefile

Do you have any estimated time for supporting node16? Thanks

@PatMyron
Copy link
Contributor

PatMyron commented Sep 2, 2022

Upgrade cfn-lint for new feature support, including nodejs16.x:
#2283 (comment)

More related issues: #2332, #2263

@qmg-akara
Copy link
Author

Thanks for the reply, sorry I missed that, I searched for node16 but not nodejs16 so couldn't find that issue. Thanks!

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