rdegges / ice-breaker

A simple cross-platform CLI tool that destroys Amazon Glacier vaults.
1 stars 0 forks source link

Get Deletion Working #6

Open rdegges opened 8 months ago

rdegges commented 8 months ago

Right now I'm able to get Vault Archives deleted, but for some reason, I still can't get the Vaults to delete even after the API returns a success. Going to isolate and do more testing here.

rdegges commented 8 months ago

Figured out the root cause of the issues I'm seeing... The way Glacier works is like this:

This means that if you do something like:

The Vault deletion step will fail because a sufficient amount of time hasn't yet passed so AWS isn't sure the Vault is truly empty.

The solution is to wait ~24-ish hours then re-try the Vault deletion after nuking all Archives. Ugh.