Skip to content

Commit 6e4cda8

Browse files
committed
docs for scratch_disk
1 parent 4077094 commit 6e4cda8

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

website/docs/r/compute_instance.html.markdown

+12-4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ The following arguments are supported:
7676

7777
- - -
7878

79+
* `scratch_disk` - (Optional) Scratch disks to attach to the instance. This can be
80+
specified multiple times for multiple scratch disks. Structure is documented below.
81+
7982
* `can_ip_forward` - (Optional) Whether to allow sending and receiving of
8083
packets with non-matching source or destination IPs.
8184
This defaults to false.
@@ -85,9 +88,6 @@ The following arguments are supported:
8588

8689
* `description` - (Optional) A brief description of this resource.
8790

88-
* `disk` - (Optional) Disks to attach to the instance. This can be specified
89-
multiple times for multiple disks. Structure is documented below.
90-
9191
* `metadata` - (Optional) Metadata key/value pairs to make available from
9292
within the instance.
9393

@@ -110,6 +110,9 @@ The following arguments are supported:
110110

111111
---
112112

113+
* `disk` - (DEPRECATED) Disks to attach to the instance. This can be specified
114+
multiple times for multiple disks. Structure is documented below.
115+
113116
* `network` - (DEPRECATED) Networks to attach to the instance. This
114117
can be specified multiple times for multiple networks. Structure is
115118
documented below.
@@ -149,7 +152,12 @@ The `initialize_params` block supports:
149152
`global/images/family/{family}`, `family/{family}`, `{project}/{family}`,
150153
`{project}/{image}`, `{family}`, or `{image}`.
151154

152-
The `disk` block supports: (Note that either disk or image is required, unless
155+
The `scratch_disk` block supports:
156+
157+
* `interface` - (Optional) The disk interface to use for attaching this disk; either SCSI or NVME.
158+
Defaults to SCSI.
159+
160+
(DEPRECATED) The `disk` block supports: (Note that either disk or image is required, unless
153161
the type is "local-ssd", in which case scratch must be true).
154162

155163
* `disk` - The name of the existing disk (such as those managed by

0 commit comments

Comments
 (0)