Hey, Kuba from OpenTofu here. I did write an email to the opensource cloudflare address, but I see t
Hey, Kuba from OpenTofu here. I did write an email to the opensource cloudflare address, but I see the R2 devs are very active here so might be a better place to ask that part.
We're currently working on our stable provider/module registry, really mostly the JSON serving layer (not the artifacts). It seems like R2 would basically be perfect for that. However, it seems like by default R2 is single-region. Would you be able to make a recommendation on how to host a bunch of json files (1.6GB of json spread across a couple tens of thousands of files) in a multi-region way behind a custom domain?
I suppose it would be multiple single-region R2 buckets frontend by a CDN / Worker (and we'd just rclone the jsons to all the buckets), but I'm far from an expert at the CloudFlare offering and can't find much info online about this.
We have a public rfc up for this, fwiw, which contains a bit more background: https://github.com/opentofu/opentofu/issues/841
We're currently working on our stable provider/module registry, really mostly the JSON serving layer (not the artifacts). It seems like R2 would basically be perfect for that. However, it seems like by default R2 is single-region. Would you be able to make a recommendation on how to host a bunch of json files (1.6GB of json spread across a couple tens of thousands of files) in a multi-region way behind a custom domain?
I suppose it would be multiple single-region R2 buckets frontend by a CDN / Worker (and we'd just rclone the jsons to all the buckets), but I'm far from an expert at the CloudFlare offering and can't find much info online about this.
We have a public rfc up for this, fwiw, which contains a bit more background: https://github.com/opentofu/opentofu/issues/841
GitHub
Introduction Note This proposal is part of the Homebrew-like Registry Design. This RFC introduces a strategy for pre-generating API responses for the OpenTofu registry using predefined JSON files a...

