Open shrutimantri opened 9 months ago
this seems expected, I know it from S3 that this is the default behavior
initially this seems safer than deleting a non empty bucket
we could introduce an option to force delete in the style of gsutil -m rm -r gs://my-bucket
Expected Behavior
The given bucket should be deleted. We can provide an option to delete non-empty bucket, or explicitly mention that only empty buckets will be deleted.
Actual Behaviour
The non-empty bucket does not get deleted. The task fails with the following error:
Steps To Reproduce
in the DeleteBucket task, provide a non0-empty bucket to be deleted.
Environment Information
Example flow