Hey everyone! I was experimenting with S3Table Buckets for a Lake Design but decided to simplify things and go with general purpose buckets instead. I created an S3Table bucket named "CO_NAME-lake-raw" and later created a General Purpose (GP) bucket with the same name. Now I want to delete the S3Table bucket but I can't find an option to do it in the AWS console. I tried using the CLI based on a guide I found, but I'm worried that the command might affect all buckets with that name. I want to make sure I only delete the S3Table bucket and not my active GP bucket. The command I thought would work is: `aws s3 rb s3://your-bucket-name --force`, but I'm not sure if that will specifically target the S3Table bucket. Also, when I tried deleting the bucket using its ARN, I got a message saying it's not empty, even though I don't see any tables in it. I'm stuck and could really use some help!
2 Answers
You're on the right track! For S3Table buckets, you'll need to use the specific `s3tables` subcommand when using AWS CLI. Just to help, here's the link to the CLI documentation you should be looking at: https://docs.aws.amazon.com/cli/latest/reference/s3tables/. By using the right command, you should be able to delete just the S3Table bucket.
You can check out this link that explains how to delete S3Tables specifically: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-delete.html. Just make sure you’re using the right command for S3Tables. It sounds like you might be trying to use a generic S3 command that won't work for S3Tables. Look into the S3Tables CLI commands instead!
Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux