Add subnetwork resource ACC tests, additional doc updates

This commit is contained in:
Matt Morrison 2016-02-16 16:04:44 +13:00 committed by James Nugent
parent b60e587750
commit a9c87749be
3 changed files with 11 additions and 2 deletions

View File

@ -124,7 +124,7 @@ The `network_interface` block supports:
`network` or `subnetwork` must be provided.
* `subnetwork` - (Optional) the name of the subnetwork to attach this interface to. The subnetwork
must exist in the same region this instance is to 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

View File

@ -137,7 +137,12 @@ The `disk` block supports:
The `network_interface` block supports:
* `network` - (Required) The name of the network to attach this interface to.
* `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.
* `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`
or `subnetwork` must be provided.
* `access_config` - (Optional) Access configurations, i.e. IPs via which this instance can be
accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet

View File

@ -102,6 +102,10 @@ The following arguments are supported:
* `ike_version` - (Optional) Either version 1 or 2. Default is 2.
Changing this forces a new resource to be created.
* `local_traffic_selector` - (Optional) Specifies which CIDR ranges are announced
to the VPN peer. Mandatory if the VPN gateway is attached to a custom subnetted
network. Refer to Google documentation for more information.
## Attributes Reference