Managing R2 objects #2762
Labels
kind/enhancement
Categorizes issue or PR as related to improving an existing feature.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
triage/duplicate
Indicates an issue is a duplicate of other open issue.
Current Terraform and Cloudflare provider version
Terraform v1.5.7
on linux_amd64
Description
Currently it seems like it is not possible to upload/manage R2 objects with terraform. As was noted by @yonran in #1664:
Since the R2 S3 API does not support the required interface to use the AWS terraform provider and the cloudflare provider does not implement any object-level apis there is no way to manage R2 objects with terraform.
Use cases
I'm trying to upload objects for use with workers that I deploy with the cloudflare provider. It can be frontend resources, backend data, anything object-like that is coupled to a deployment of a worker.
Potential Terraform configuration
Either with the s3 provider (if the cloudflare s3 api starts supporting GetObjectTagging):
Or with a r2 object resource:
References
#1664 mentions the issue
The text was updated successfully, but these errors were encountered: