Closed dzwicker closed 1 month ago
In version 1.22.0 we bumped the cfn-lint version to 1.x https://github.com/aws/aws-sam-cli/pull/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 0.87.10
to version 1.x
.
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.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
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