delete-bucket

command module
v0.0.0-...-2d4f146 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL