mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
EC2 deleted a terminated instance's root volume through the raw block-device helper, though a root has no raw backing: it is the container's own file system. Volume deletion now takes the same root check that already skips the detach, so termination and reconciliation remove a root's metadata and tags without calling the helper, while data volumes keep their backing-storage cleanup. Failed-launch rollback records the launch's root volume ids before terminating, so a root that DeleteOnTermination=false kept, or that reconciliation detached first, is deleted the same way. Co-authored-by: Andre Kurait <AndreKurait@gmail.com>