You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/r/compute_instance.html.markdown
+11-8
Original file line number
Diff line number
Diff line change
@@ -236,7 +236,7 @@ is desired, you will need to modify your state file manually using
236
236
For instance, the image `centos-6-v20180104` includes its family name `centos-6`.
237
237
These images can be referred by family name here.
238
238
239
-
*`labels` - (Optional) A set of key/value label pairs assigned to the disk. This
239
+
*`labels` - (Optional) A set of key/value label pairs assigned to the disk. This
240
240
field is only applicable for persistent disks.
241
241
242
242
*`resource_manager_tags` - (Optional) A tag is a key-value pair that can be attached to a Google Cloud resource. You can use tags to conditionally allow or deny policies based on whether a resource has a specific tag. This value is not returned by the API. In Terraform, this value cannot be updated and changing it will recreate the resource.
@@ -285,6 +285,7 @@ is desired, you will need to modify your state file manually using
285
285
network is in auto subnet mode, specifying the subnetwork is optional. If the network is
286
286
in custom subnet mode, specifying the subnetwork is required.
287
287
288
+
288
289
*`subnetwork_project` - (Optional) The project in which the subnetwork belongs.
289
290
If the `subnetwork` is a self_link, this field is ignored in favor of the project
290
291
defined in the subnetwork self_link. If the `subnetwork` is a name and this
@@ -306,6 +307,8 @@ is desired, you will need to modify your state file manually using
306
307
307
308
*`nic_type` - (Optional) The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET.
308
309
310
+
*`network_attachment` - (Optional) [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html) The URL of the network attachment that this interface should connect to in the following format: `projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}`.
311
+
309
312
*`stack_type` - (Optional) The stack type for this network interface to identify whether the IPv6 feature is enabled or not. Values are IPV4_IPV6 or IPV4_ONLY. If not specified, IPV4_ONLY will be used.
310
313
311
314
*`ipv6_access_config` - (Optional) An array of IPv6 access configurations for this interface.
@@ -331,14 +334,14 @@ specified, then this instance will have no external IPv6 Internet access. Struct
*`external_ipv6` - (Optional) The first IPv6 address of the external IPv6 range associated
335
-
with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig.
336
-
To use a static external IP address, it must be unused and in the same region as the instance's zone.
337
+
*`external_ipv6` - (Optional) The first IPv6 address of the external IPv6 range associated
338
+
with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig.
339
+
To use a static external IP address, it must be unused and in the same region as the instance's zone.
337
340
If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
338
341
339
342
*`external_ipv6_prefix_length` - (Optional) The prefix length of the external IPv6 range.
340
343
341
-
*`name` - (Optional) The name of this access configuration. In ipv6AccessConfigs, the recommended name
344
+
*`name` - (Optional) The name of this access configuration. In ipv6AccessConfigs, the recommended name
342
345
is "External IPv6".
343
346
344
347
*`network_tier` - (Optional) The service-level to be provided for IPv6 traffic when the
@@ -390,12 +393,12 @@ specified, then this instance will have no external IPv6 Internet access. Struct
390
393
391
394
*`min_node_cpus` - (Optional) The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
392
395
393
-
*`provisioning_model` - (Optional) Describe the type of preemptible VM. This field accepts the value `STANDARD` or `SPOT`. If the value is `STANDARD`, there will be no discount. If this is set to `SPOT`,
396
+
*`provisioning_model` - (Optional) Describe the type of preemptible VM. This field accepts the value `STANDARD` or `SPOT`. If the value is `STANDARD`, there will be no discount. If this is set to `SPOT`,
394
397
`preemptible` should be `true` and `automatic_restart` should be
*`instance_termination_action` - (Optional) Describe the type of termination action for VM. Can be `STOP` or `DELETE`. Read more on [here](https://cloud.google.com/compute/docs/instances/create-use-spot)
400
+
401
+
*`instance_termination_action` - (Optional) Describe the type of termination action for VM. Can be `STOP` or `DELETE`. Read more on [here](https://cloud.google.com/compute/docs/instances/create-use-spot)
399
402
400
403
*`max_run_duration` - (Optional) [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html) The duration of the instance. Instance will run and be terminated after then, the termination action could be defined in `instance_termination_action`. Only support `DELETE``instance_termination_action` at this point. Structure is [documented below](#nested_max_run_duration).
0 commit comments