Google Cloud - the bucket name is taken. Try another.

March 27, 2021

This is one of the bugs that I came across in Google Cloud Platform.

That bucket name is taken. Try another.

And then I go check the Google Cloud Platform and the dashboard, and I don’t see anything….

As of March 27, 2021, it seems like if you delete a project with a bucket, GCP won’t release the bucket name. It marks it as not having a permission issue. To resolve this, you have to run this command.

gsutil rm -r gs:// <-- is the name of the bucket

Another word of advice - it seems like there are instances where the functionality of the UI is lagging behind the command line functionality. If there is a UI discrepancy, make sure you use the command line/SDK tools!