Open mrzor opened 4 years ago
REST API version: https://cloud.google.com/storage/docs/json_api/v1/objects/copy
google_storage_bucket_object
source
source
field that can be identified by their gs://
URI syntax.Do
call requests using ObjectService
methods. In this particular scenario, copying an object from a source to a destination is possible using the Copy(sourceBucket string, sourceObject string, destinationBucket string, destinationObject string, object *Object)
method.b/263934456
any news ?
Community Note
Description
google_storage_bucket_object
accepts asource
parameter that points to a local path. It would be helpful in some situations to have it acceptgs://
URIs as well.New or Affected Resource(s)
Potential Terraform Configuration
References
gsutil cp
- Copying In The Cloud And Metadata Preservation