Unable to delete a glacier vault

1

I have followed all the instructions as per https://docs.aws.amazon.com/amazonglacier/latest/dev/getting-started-delete-archive-cli.html to delete a glacier vault However the vault still appears on the console and I am getting the following error

Error deleting vault
Vault not empty or recently written to: arn:aws:glacier:ap-southeast-2:XXXXXXXX:vaults/testvault
profile picture
已提问 3 年前1270 查看次数
1 回答
2
已接受的回答

There should have been no writes to the vault since the last inventory.

S3 Glacier prepares an inventory for each vault periodically, every 24 hours. Because the inventory might not reflect the latest information, S3 Glacier ensures the vault is indeed empty by checking if there were any write operations since the last vault inventory.

So retry after 24 hours :-)

https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-delete.html https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-vaults.html

profile picture
已回答 3 年前
profile picture
专家
已审核 8 个月前
  • In my case, there are no writes to the vault. I already tried for 3 days, leaving 24 hours in between, and I keep getting the same errors. Thanks

  • Also, my problem is deleting archive. It keeps saying Invalid Vault name even though the vault name is correct. Used the exact same code and aws command than I used with other vaults that worked perfectly. Yet on these two vauts I keep getting the error

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则