Closed SvanteRichter closed 11 months ago
Voting for Prioritization
Volunteering to Work on This Issue
duplicate of #1664. there are still no plans to expose the S3 compatible API via the Go SDK so until such a time, this won't be possible.
@jacobbednarz Are there no plans to offer a cloudflare_r2_object
or similar either? This feature request is just having any way to upload objects into an r2 bucket with terraform.
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