2 ms·
I can't find the CLI option, the docs still say that the bucket must be empty[1]. There's something available in the management console but that doesn't really
by jcims 7y ago
I can't find the CLI option, the docs still say that the bucket must be empty[1]. There's something available in the management console but that doesn't really help with automated deployments and testing.
[1] - https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-bucket.html https://docs.aws.amazon.com/cli/latest/reference/s3api/delet...
Edit: Found aws s3 rb --force, but this just automates the process of listing/deleting objects then deleting the bucket. When you have 7 million objects in a cloudtrail bucket, that can take days.