1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
you can only delete a vault only if there are no archives in the vault as of the last inventory it computed and there have been no writes to the vault since the last inventory.
Please refer to the below link to delete Archives in S3 Glacier using CLI : https://docs.aws.amazon.com/amazonglacier/latest/dev/deleting-an-archive-using-cli.html
Post which you can delete the vault, using the below command:
aws glacier delete-vault --vault-name awss3vault9011 --account-id 1234569824
for more information please refer to the link below: https://docs.aws.amazon.com/amazonglacier/latest/dev/deleting-vaults-cli.html
Hope this helps.
answered a year ago
Relevant content
- asked 5 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 5 months ago
Hi, @studioloft.
Your command may be wrong.
Please let me know the result of executing the command below.
aws --help
aws glacier delete-vault