Skip to content

Commit bddbc7b

Browse files
authored
Merge pull request hashicorp#11583 from hashicorp/UpdateMachineDoc
Update compute_instance.html.markdown
2 parents 23e01de + 1ed8a47 commit bddbc7b

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

website/source/docs/providers/google/r/compute_instance.html.markdown

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ The following arguments are supported:
6969

7070
* `zone` - (Required) The zone that the machine should be created in.
7171

72+
* `network_interface` - (Required) Networks to attach to the instance. This can
73+
be specified multiple times for multiple networks, but GCE is currently
74+
limited to just 1. Structure is documented below.
75+
7276
- - -
7377

7478
* `can_ip_forward` - (Optional) Whether to allow sending and receiving of
@@ -86,14 +90,6 @@ The following arguments are supported:
8690
startup-script metadata key on the created instance and thus the two
8791
mechanisms are not allowed to be used simultaneously.
8892

89-
* `network_interface` - (Required) Networks to attach to the instance. This can
90-
be specified multiple times for multiple networks, but GCE is currently
91-
limited to just 1. Structure is documented below.
92-
93-
* `network` - (DEPRECATED, Required) Networks to attach to the instance. This
94-
can be specified multiple times for multiple networks. Structure is
95-
documented below.
96-
9793
* `project` - (Optional) The project in which the resource belongs. If it
9894
is not provided, the provider project is used.
9995

@@ -107,6 +103,12 @@ The following arguments are supported:
107103

108104
* `create_timeout` - (Optional) Configurable timeout in minutes for creating instances. Default is 4 minutes.
109105
Changing this forces a new resource to be created.
106+
107+
---
108+
109+
* `network` - (DEPRECATED, Required) Networks to attach to the instance. This
110+
can be specified multiple times for multiple networks. Structure is
111+
documented below.
110112

111113
The `disk` block supports: (Note that either disk or image is required, unless
112114
the type is "local-ssd", in which case scratch must be true).
@@ -212,4 +214,4 @@ exported:
212214

213215
* `disk.0.disk_encryption_key_sha256` - The [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
214216
encoded SHA-256 hash of the [customer-supplied encryption key]
215-
(https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
217+
(https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.

0 commit comments

Comments
 (0)