Open krystof-k opened 6 months ago
However when I run the lint on the packaged template (aws cloudformation package
), it passes fine as the initial values are omitted. So this is not such a huge deal, although having be able to lint the source files would be nice.
Going to think on this one. One of the issues we have is since we are parsing into a python dict
we lose the second key. What this would probably look like is we continue to parse, raise the error and the final object. I think this would be possible
Is this feature request related to a new rule or cfn-lint capabilities?
rules
Describe the feature you'd like to request
I'm using YAML anchors like this:
Which results in
Describe the solution you'd like
It would be great if this case (duplicate keys) is a separate rule and can be turned off. Turning of
E0000
didn't work for me and I would probably not even want that.Additional context
No response
Is this something that you'd be interested in working on?
Would this feature include a breaking change?