Unable to delete Glacier Bucket

0

I am attempting to delete a Glacier bucket that I am no longer uploading/connecting to from the source device (Synology NAS). I undersatnd you can only delete a bucket via CLI. When entering the following command in CloudShell I am presented with the message "Unknown Options: 074597366642"

aws glacier delete-vault --vault-name [vaultnamehere] --account-id [numberhere]

Any help would be greatly appreciated! Thank you, Gavin

  • Hi, @studioloft.

    Your command may be wrong.

    Please let me know the result of executing the command below.

    • aws --help
    • aws glacier delete-vault
1개 답변
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.

AWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠