Skip to content

Terraform scripts to delete non-empty COS bucket using MINIO client.

License

Notifications You must be signed in to change notification settings

VidyasagarMSC/cos-object-cleanup

Repository files navigation

Delete non-empty Object Storage bucket using MINIO and Terraform

Terraform scripts to recursively delete all the objects of a Cloud Object Storage (COS) bucket using MINIO client.

Deploy COS

  1. Clone this repository
    git clone https://github.com/VidyasagarMSC/cos-object-cleanup.git
  2. Create terraform.tfvars file from the template and update the file with your details
    cp terraform.tfvars.template terraform.tfvars
  3. Run both terraform commands
    terraform init
    terraform apply

Destroy

terraform destroy

About

Terraform scripts to delete non-empty COS bucket using MINIO client.

Topics

Resources

License

Stars

Watchers

Forks