Files
floci/src/main/java/io/github/hectorvent
Hector Ventura 846ba614dd fix(cloudformation): roll back failed stack creates (#1123)
A resource that failed to provision was silently ignored — the stack still reached
CREATE_COMPLETE, leaving a half-built stack behind. The execution now stops on the
first CREATE_FAILED/UPDATE_FAILED resource and, on a create, deletes the resources
already created in that execution so the stack ends ROLLBACK_COMPLETE on a clean
slate and a corrected re-deploy can succeed. Updates mark UPDATE_ROLLBACK_COMPLETE
and keep prior physical ids (full prior-template restoration is out of scope). The
rolled-back terminal state is persisted so it survives a restart.

Tests cover rollback + successful retry and the single-failed-resource case.

Refs #924
2026-06-03 17:33:38 -05:00
..