The motivation for this change is that, in our use-case, CloudFormation crashed when it ran into the excluded undefined item in the array. If we remove the item completely, it works as it should.
Note
:firecracker: BREAKING CHANGE: Exclusion of an array item now removes it completely instead of keeping undefined on its index.
This PR adds support for completely removing excluded array indices.
Before
and
results in
After
The result will be
Why
The motivation for this change is that, in our use-case, CloudFormation crashed when it ran into the excluded
undefined
item in the array. If we remove the item completely, it works as it should.Note
:firecracker: BREAKING CHANGE: Exclusion of an array item now removes it completely instead of keeping undefined on its index.