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
Now cfn-lint incorrectly complains about missing keys if the resolved value is falsy (0 or "")
E1019 'Idx' is not one of ['Idx'] for mapping 'Map' and key 'Key' when 'Ref' is resolved
map.yaml:10:7
E1019 'Idx' is not one of ['Idx'] for mapping 'Map' and key 'Key'
map.yaml:12:45
Another variant of the same problem reports as E1017 (this is closer to what I distilled to the original reproducer but I didn't notice the error number changed):
E1017 'Idx' is not one of ['Idx'] for mapping 'Map' and key 'Key'
mapv.yaml:25:13
CloudFormation Lint Version
1.3.5
What operating system are you using?
Mac
Describe the bug
Thanks for fixing #3385
Now
cfn-lint
incorrectly complains about missing keys if the resolved value is falsy (0 or "")Expected behavior
no errors or warnings
Reproduction template
The text was updated successfully, but these errors were encountered: