cfn-lint 0.26.2
Checking .yaml file, block
Parameters:
Env:
Type: "String"
Description: "Environment"
Default: "staging"
AllowedValues:
staging
mock
production
DEVOPS
Lint says no errors, but when run aws cloudformation:
An error occurred (ValidationError) when calling the CreateStack operation: Template format error: Every AllowedValues member must be a list.
Should be an easy one to do. Thanks for submitting this.
after this PR is in.
E2001 Property Parameters/Env/AllowedValues should be of type List
test/fixtures/templates/bad/parameters/configuration.yaml:Line:Column
Most helpful comment
Should be an easy one to do. Thanks for submitting this.