Skip to content

Commit

Permalink
Added documentation for disk labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Boudreau committed Jun 13, 2019
1 parent 6432669 commit 5d2d229
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/r/compute_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ The `initialize_params` block supports:
For instance, the image `centos-6-v20180104` includes its family name `centos-6`.
These images can be referred by family name here.

* `labels` - (Optional) A set of key/value label pairs to assign to the boot disk.

The `scratch_disk` block supports:

* `interface` - (Optional) The disk interface to use for attaching this disk; either SCSI or NVME.
Expand Down
5 changes: 5 additions & 0 deletions website/docs/r/compute_instance_template.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,11 @@ The `disk` block supports:
* `type` - (Optional) The type of GCE disk, can be either `"SCRATCH"` or
`"PERSISTENT"`.

* `labels` - (Optional) A set of key/value label pairs to assign to the disk.

If you are creating a new disk, these labels are added to the disk.
If you are attaching an existing disk, these labels are ignored.

* `disk_encryption_key` - (Optional) Encrypts or decrypts a disk using a customer-supplied encryption key.

If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key.
Expand Down

0 comments on commit 5d2d229

Please sign in to comment.