Skip to content

Commit a0cc958

Browse files
note: (storagetransfer) added documentation for metadata_options for resource google_storage_transfer_job (#15316)
Co-authored-by: Riley Karson <[email protected]>
1 parent 8814342 commit a0cc958

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

mmv1/third_party/terraform/website/docs/r/storage_transfer_job.html.markdown

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ A duration in seconds with up to nine fractional digits, terminated by 's'. Exam
232232

233233
* `overwrite_when` - (Optional) When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by `overwrite_objects_already_existing_in_sink`. Possible values: ALWAYS, DIFFERENT, NEVER.
234234

235+
* `metadata_options` - (Optional) Specifies the metadata options for running a transfer. Structure [documented below](#nested_metadata_options).
236+
237+
235238
<a name="nested_gcs_data_sink"></a>The `gcs_data_sink` block supports:
236239

237240
* `bucket_name` - (Required) Google Cloud Storage bucket name.
@@ -370,6 +373,26 @@ Each action state may be one of `SUCCEEDED`, and `FAILED`.
370373
* `enable_on_prem_gcs_transfer` - (Optional) For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
371374
Defaults to false.
372375

376+
<a name="nested_metadata_options"></a>The `metadata_options` block supports:
377+
378+
* `symlink` - (Optional) Specifies how symlinks should be handled by the transfer.
379+
380+
* `mode` - (Optional) Specifies how each file's mode attribute should be handled by the transfer.
381+
382+
* `gid` - (Required) Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
383+
384+
* `uid` - (Optional) Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
385+
386+
* `acl` - (Optional) Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets.
387+
388+
* `storage_class` - (Optional) Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets.
389+
390+
* `temporary_hold` - (Optional) Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets.
391+
392+
* `kms_key` - (Optional) Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets.
393+
394+
* `time_created` - (Optional) Specifies how each object's timeCreated metadata is preserved for transfers.
395+
373396
## Attributes Reference
374397

375398
In addition to the arguments listed above, the following computed attributes are

0 commit comments

Comments
 (0)