You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[E2530: SnapStart supports the configured runtime] ('python3.12' is not supported for 'SnapStart' enabled functions) matched 137]
Error: Linting failed. At least one linting rule was matched to the provided template.
One area of the code where it is validating this can be found here --
For cfn-lint properly validate SnapStart and not return unsupported SnapStart for Python 3.12.
NOTE: SnapStart for AWS Lambda is only supported in some region, as opposed to Java. The list may need to be modified and/or checked independently for now in the code.
CloudFormation Lint Version
1.20.2
What operating system are you using?
Amazon Linux 2
Describe the bug
On Nov 18 2024, SnapStart for Python 3.12 was launched (https://aws.amazon.com/about-aws/whats-new/2024/11/aws-lambda-snapstart-python-net-functions/).
cfn-lint
is giving lint errors about non-support when usingsam validate --lint
for templates that contain SnapStart andpython3.12
as a runtime.One area of the code where it is validating this can be found here --
cfn-lint/src/cfnlint/rules/resources/lmbd/SnapStartSupported.py
Line 100 in 700563c
Expected behavior
For
cfn-lint
properly validate SnapStart and not return unsupported SnapStart for Python 3.12.NOTE: SnapStart for AWS Lambda is only supported in some region, as opposed to Java. The list may need to be modified and/or checked independently for now in the code.
Reproduction template
The text was updated successfully, but these errors were encountered: