aws-cloudformation / cfn-lint-visual-studio-code

CloudFormation Linter IDE integration, autocompletion, and documentation
https://marketplace.visualstudio.com/items?itemName=kddejong.vscode-cfn-lint
Apache License 2.0
257 stars 136 forks source link

Linter throws error when using nodejs20.x for Lambda runtime #366

Closed kshyun28 closed 9 months ago

kshyun28 commented 9 months ago

I've encountered an issue with the linter not supporting the latest Lambda Node.js runtime (nodejs20.x).

cfn-lint Lambda nodejs20.x error

AWS recently announced support for Lambda Node.js 20 runtime.

And the list of supported runtimes for Lambda here.

I'm using the latest version of CloudFormation Linter as of writing this. CloudFormation Linter Version

kshyun28 commented 9 months ago

Update: It's possible that my VS Code instance was bugged and update took a while to reflect.

A false positive so am closing this issue.