aws-cloudformation / aws-cloudformation/cloudformation-cli
Duplicate keys not caught by `cfn-cli validate`
Open
schema
schema processing
- Dominant language
- Python
- Stars
- 336
- Forks
- 172
- Avg merge
- 3d 5m
- Merged PRs (30d)
- 3
Description
We were getting stabilization errors on an `AWS::CloudFormation::ResourceVersion` of ours. The `schema.json` passed validation and generated correctly via `cfn-cli`.
Anyway, here is the diff of the change to our `schema.json` that fixed the CloudFormation stabilization issue. I'd expect `cfn-cli validate` to have caught this, but it didn't. As you can see there were two `Indexes` keys defined in the properties of an object definition.

Contributor guide
Assessment
This issue has not been assessed yet.