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
each member of the list its erroring on is conditionally created. there is a condition on the resource that is an OR of each conditional created member of the list. In the sample template below, the resource only gets created if atleast 1 of the deployment target OUs paramter for deployment is set to true. There was no error in v0.x
Expected behavior
no error created. i have worked around the error by utilizing the resource metadata to ignore the rule
Reworked a decent chunk of how we filter templates during json schema validation. Current we were using the v0 approach to determine when certain conditions apply. The PR I'm working on now will use the v1 method which will add for accountability to resource level conditions when processing the path. We are going down a path that it may be hard to evaluate paths that can't be reached (Example: going to down the truth and false path of the same condition) but we will at least provide a warning for when a code path can't be reached.
CloudFormation Lint Version
cfn-lint 1.9.1
What operating system are you using?
windows
Describe the bug
error: [cfn-lint] E3032: [] is too short (1)
each member of the list its erroring on is conditionally created. there is a condition on the resource that is an OR of each conditional created member of the list. In the sample template below, the resource only gets created if atleast 1 of the deployment target OUs paramter for deployment is set to true. There was no error in v0.x
Expected behavior
no error created. i have worked around the error by utilizing the resource metadata to ignore the rule
Reproduction template
The text was updated successfully, but these errors were encountered: