Closed cbernander closed 1 week ago
I think what makes sense here is when we used the resolved values that if one is correct we don't alert. The other option would be to use the Default values together and not mix and match Default
and AllowedValues
.
Since the default is 5 we are validating the scenario of rate(5 minute)
so any of the singular values are wrong.
I have a fix for this to basically say if at least one of the values are valid we won't return an error. Need to add some tests but PR coming soon.
CloudFormation Lint Version
1.3.3
What operating system are you using?
Ubuntu
Describe the bug
When using a parameter for setting the rate expression unit, specifying any of the following values as part of the
AllowedValues
property fails validation:minute
hour
day
Expected behavior
Using one of the values specified above should pass validation.
Reproduction template