aws-cloudformation / aws-cloudformation/cloudformation-cli

Duplicate keys not caught by `cfn-cli validate`

Open
#752 1 comment 1 reaction 0 assignees View on GitHub
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.

Screen Shot 2021-05-05 at 11 09 38

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.