I need to delete my s3 bucket
Versioning is disabled as the version id for each file is set to null.
When I enter
aws s3 rb s3://bucketname --force
It ends with the following output
remove_bucket failed: s3://bucketname 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.
How can I permanently delete the bucket and its via the AWS CLI?
I have tried these solutions as well and they didn't work either: https://stackoverflow.com/a/41399166/11983010