Skip to content

tantona/delete-bucket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

delete-bucket

remove_bucket failed: s3://foobar-12341234 An error occurred (BucketNotEmpty) when calling the DeleteBucket operation: The bucket you tried to delete is not empty. You must delete all versions in the bucket.

Arrrggghh!! 😡 😡 😡 😡

Do you hate using the console to empty and then delete versioned S3 Buckets? Never fear! This little CLI will do all the heavy lifting for you!

Getting started

  1. Install and configure awscli

  2. Install

    go get github.com/tantona/delete-bucket
  3. Delete a bucket!

    delete-bucket --name foobar

Usage

usage: delete-bucket [<flags>] <bucket name>

Flags:
    --help                Show context-sensitive help (also try --help-long and --help-man).
-v, --verbose             enable verbose logging
-p, --profile="default"   aws profile name
-r, --region="us-east-1"  aws region

Args:
<bucket name>  name of s3 bucket

About

CLI for deleting versioned AWS S3 Buckets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages