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
But W8003 will never output a validation error if a condition always evaluates to false. W8003 will only output a validation error if a condition always evaluates to true.
$ cfn-lint --format pretty --regions us-east-2 --include-checks I --configure-rule E3012:strict=True I3042:region=True I3042:accountId=True -- template.yaml
template.yaml
5:3: W8003 ['true', 'true'] will always return True or False
Cfn-lint scanned 1 templates against 234 rules and found 0 errors, 1 warnings, and 0 informational violations
Expected behavior
W8003 should output a validation error if a condition always evaluates to false, or W8003 should be updated to indicate that it will only output a validation error if a condition always evaluates to true.
CloudFormation Lint Version
1.20.1
What operating system are you using?
Mac
Describe the bug
The validation error message for
W8003
is:But
W8003
will never output a validation error if a condition always evaluates tofalse
.W8003
will only output a validation error if a condition always evaluates totrue
.Expected behavior
W8003
should output a validation error if a condition always evaluates tofalse
, orW8003
should be updated to indicate that it will only output a validation error if a condition always evaluates totrue
.Reproduction template
The text was updated successfully, but these errors were encountered: