mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-22 17:46:01 +00:00
Add more acceptance tests, and fix some test cases
This commit is contained in:
parent
a9c87749be
commit
e42ea36d23
|
@ -85,6 +85,12 @@ The following arguments are supported:
|
|||
* `network_interface` - (Required) Networks to attach to instances created from this template.
|
||||
This can be specified multiple times for multiple networks. Structure is
|
||||
documented below.
|
||||
|
||||
* `region` - (Optional) An instance template is a global resource that is not bound to a zone
|
||||
or a region. However, you can still specify some regional resources in an instance template,
|
||||
which restricts the template to the region where that resource resides. For example, a
|
||||
custom `subnetwork` resource is tied to a specific region.
|
||||
Defaults to the region of the Provider if no value is given.
|
||||
|
||||
* `automatic_restart` - (Optional, Deprecated - see `scheduling`)
|
||||
Specifies whether the instance should be
|
||||
|
@ -137,11 +143,12 @@ The `disk` block supports:
|
|||
|
||||
The `network_interface` block supports:
|
||||
|
||||
* `network` - (Optional) The name of the network to attach this interface to. Only use `network`
|
||||
attribute for Legacy or Auto subnetted networks, otherwise use `subnetwork` instead.
|
||||
* `network` - (Optional) The name of the network to attach this interface to. Use `network`
|
||||
attribute for Legacy or Auto subnetted networks and `subnetwork` for custom subnetted
|
||||
networks.
|
||||
|
||||
* `subnetwork` - (Optional) the name of the subnetwork to attach this interface to. The subnetwork
|
||||
must exist in the same region this instance will be created in. Either `network`
|
||||
must exist in the same `region` this instance will be created in. Either `network`
|
||||
or `subnetwork` must be provided.
|
||||
|
||||
* `access_config` - (Optional) Access configurations, i.e. IPs via which this instance can be
|
||||
|
|
Loading…
Reference in New Issue
Block a user