mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
DeletionProtection was stored and round-tripped but never read on the delete path, so a protected pool was deleted like any other and a CloudFormation DeleteStack owning one succeeded. AWS refuses with InvalidParameterException until UpdateUserPool switches the flag to INACTIVE, and the stack reports DELETE_FAILED with that reason. The check reads the pool store directly: describeUserPool would turn a delete of a missing id into ResourceNotFoundException (a separate divergence) and generate signing keys as a side effect. Closes #3948