An R2 Bucket that Stays Private, Cleans Up, and Can Lock Objects
R2 has no versioning: an overwrite or delete is the end of the object, and the only control that refuses deletion is a bucket lock rule, which a bucket without one needs to accept by name. Abandoned multipart uploads bill until a lifecycle rule aborts them. Private with no domain attached, lock rules taken, incomplete uploads freed after a week, and the EU or FedRAMP jurisdiction set at creation.
This is the operations reference: version drift, dependants and neighbours. For what the module provisions, its inputs and outputs, and how to buy it, see the catalogue entry.
Provider drift
This artifact declares no Terraform provider requirements, so there is nothing to drift. Provider freshness applies to Terraform and OpenTofu modules.
What depends on this
No reference architecture names this module, so changing it affects only configurations that reference it directly.
Nearest alternatives
Nothing else in the catalogue covers storage on Cloudflare. If this module is not the right shape, the closest options are on other clouds.
The same job on other clouds
Object Storage on other providers. Useful when the cloud is still open, or when you are pricing a second one. How far a comparison like that can be trusted is covered in comparing clouds.
Installing it
module "cloudflare_r2_bucket" {
source = "www.iac-bazaar.com/iac-bazaar/cloudflare-r2-bucket/cloudflare"
version = "1.0.0"
}A registry token is required for the download itself. Installing through the registry protocol has the two credential steps.