-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bug: sam validate fails for template using 1.122.0 or 1.223.0 #7397
Comments
In version 1.22.0 we bumped the cfn-lint version to 1.x #7207 which is likely the culprit. It looks like the exception is coming from the SAM Transform being invoked by cfn-lint. It might be helpful to open a similar issue in the cfn-lint repository or the Transform Repository. |
I did some more digging and it seems like I can reproduce the issue when invoking cfn-lint directly without SAM CLI too. I notice that the issue starts occurring when upgrading from cfn-lint version Calling the SAM Transform directly I do not see the same error message which leads me to believe the issue stems from cfn-lint. |
Closing this issue as I believe the PR to fix the above mentioned cfn-lint issue has been merged and released. The cfn-lint version bump was done as part of SAM CLI 1.124.0. Please open a new issue if you still have questions or concerns. |
|
Description:
We have a template which validates and delays perfect using SAM CLI 1.121.0. But after upgrading it fails to validate with the error:
See template at the bottom!
I was able to 'debug' the template and the error seams to be a connector definition using type and are instead of an id.
eg:
Steps to reproduce:
sam validate --lint --template-file template.yaml --region eu-central-1
Observed result:
Expected result:
Should be validated as before.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
template.yaml
The text was updated successfully, but these errors were encountered: