Skip to content

Conversation

@cf-scott
Copy link
Contributor

Bucket names can't start with a number.

Summary

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

Bucket names can't start with a number.
@cf-scott cf-scott requested review from a team, Oxyjun, elithrar and jonesphillip as code owners January 24, 2025 23:28
@github-actions github-actions bot added size/xs product:r2 R2 object storage: https://developers.cloudflare.com/r2 labels Jan 24, 2025
@Oxyjun
Copy link
Contributor

Oxyjun commented Jan 29, 2025

Hi @cf-scott , thanks for creating this PR!

I've just tested it myself, and I think bucket names can start with a number, but not with hyphens.

Can I check that this is what you had in mind? Or was there a different behaviour that made you conclude bucket names couldn't start with a number?

@cf-scott
Copy link
Contributor Author

cf-scott commented Jan 29, 2025

Hi Jun!

Thanks for checking back.

It turned out to be a Wrangler issue, but we'd still like to make some small changes:

Bucket names must begin and end with an alphanumeric and can only contain letters (a-z), numbers (0-9), and hyphens (-).

@Oxyjun
Copy link
Contributor

Oxyjun commented Jan 30, 2025

Thanks @cf-scott. I've edited the text to capture your point re:hyphens for the bucket names. Thanks again for your contribution to the docs!

@Oxyjun Oxyjun merged commit 0a85960 into cloudflare:production Jan 30, 2025
6 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Jan 30, 2025
@holopin-bot
Copy link

holopin-bot bot commented Jan 30, 2025

Congratulations @cf-scott, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm6j7xboj22950ckvf1f4c7s6

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

kodster28 pushed a commit that referenced this pull request Jan 30, 2025
* Update create-buckets.mdx

Bucket names can't start with a number.

* Update src/content/docs/r2/buckets/create-buckets.mdx

---------

Co-authored-by: Jun Lee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small product:r2 R2 object storage: https://developers.cloudflare.com/r2 size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants