Open JamesKyburz opened 5 days ago
Thanks for reporting the issue. This is because the current version of cfn-lint
doesn't support nodejs22.x yet. Once it is available we will include in Sam CLI release.
Hello, cfn-lint in version 1.20.1
is ready for node 22 - https://github.com/aws-cloudformation/cfn-lint/releases/tag/v1.20.1
Description:
sam not validating the Node 22 runtime correctly.
Steps to reproduce:
sam-latest-runtime-check.yaml
Observed result:
Expected result:
exit 0 and no error
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
:Add --debug flag to command you are running