Skip to content

Conversation

@kszarlej
Copy link
Contributor

@kszarlej kszarlej commented Mar 13, 2025

Summary

It seems that R2 custom domain doesn't work when the record is created within a zone that uses partial DNS setup.

Tested using the web console and using the r2_bucket_custom_domain Terraform resource. The error in both cases is non-descriptive - Terraform fails with saying that zone_id is incorrect, and webconsole configures the domain, shows it as green in the R2 bucket settings, but it doesn't work.

On a non-partial domain both TF resource and webconsole works. I used a subdomain delegation setup

@kszarlej kszarlej requested review from a team, Oxyjun, elithrar and jonesphillip as code owners March 13, 2025 14:29
@github-actions github-actions bot added size/xs product:r2 R2 object storage: https://developers.cloudflare.com/r2 labels Mar 13, 2025
@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Mar 13, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Clarified restrictions on using custom domains with R2 buckets.

  • Added a restriction stating that the zone containing an R2 Custom Domain must not use a partial DNS setup.

Modified Files

  • src/content/docs/r2/buckets/public-buckets.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

What is Hyperlint?

Hyperlint is an AI agent that helps you write, edit, and maintain your documentation.

Learn more about the Hyperlint AI reviewer and the checks that we can run on your documentation.

@kszarlej kszarlej changed the title Update public-buckets.mdx Update public-buckets.mdx with partial zone restriction Mar 14, 2025
@Oxyjun
Copy link
Contributor

Oxyjun commented Apr 28, 2025

Thanks for this PR @kszarlej :D

I realised we're running into a merge conflict, so I've spun another PR to add in the change you're trying to make.

Now tracking here #22011

@Oxyjun Oxyjun closed this Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

4 participants