Files
floci/src
Jackson Price d273d4f4e0 fix(cloudformation): delete dependents first on update rollback (#5943)
The update rollback deleted what a failed update added in map order, so a
resource could go before the resources that depend on it. It now walks
the template's dependency order in reverse, as stack delete and the
cleanup of committed replacements do. Those walks ignore resource
conditions and count every Fn::If branch, since a failed rollback
restores the parameters while a resource can stay on the branch the
failed update chose; where counting every branch would close a cycle,
the branches chosen now decide just those edges. A resource the template
no longer names is deleted before the held resources its attributes
name, leftovers included, and a NAT gateway records its subnet and
Elastic IP under hidden attributes for this, restored with the public
ones when a replacement is reverted.

Signed-off-by: Jackson Price <59149601+jprice8@users.noreply.github.com>
2026-10-18 21:06:53 -04:00
..