mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
Merge pull request #1732 from alexis-turpin/patch-1
Fix google_compute_route render error
This commit is contained in:
commit
c9f047357c
@ -80,6 +80,7 @@ The following arguments are supported:
|
|||||||
(Required)
|
(Required)
|
||||||
The destination range of outgoing packets that this route applies to.
|
The destination range of outgoing packets that this route applies to.
|
||||||
Only IPv4 is supported.
|
Only IPv4 is supported.
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
@ -89,6 +90,7 @@ The following arguments are supported:
|
|||||||
the first character must be a lowercase letter, and all following
|
the first character must be a lowercase letter, and all following
|
||||||
characters must be a dash, lowercase letter, or digit, except the
|
characters must be a dash, lowercase letter, or digit, except the
|
||||||
last character, which cannot be a dash.
|
last character, which cannot be a dash.
|
||||||
|
|
||||||
* `network` -
|
* `network` -
|
||||||
(Required)
|
(Required)
|
||||||
The network that this route applies to.
|
The network that this route applies to.
|
||||||
@ -100,62 +102,64 @@ The following arguments are supported:
|
|||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource. Provide this property
|
An optional description of this resource. Provide this property
|
||||||
when you create the resource.
|
when you create the resource.
|
||||||
|
|
||||||
* `priority` -
|
* `priority` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The priority of this route. Priority is used to break ties in cases
|
The priority of this route. Priority is used to break ties in cases
|
||||||
where there is more than one matching route of equal prefix length.
|
where there is more than one matching route of equal prefix length.
|
||||||
|
|
||||||
In the case of two routes with equal prefix length, the one with the
|
In the case of two routes with equal prefix length, the one with the
|
||||||
lowest-numbered priority value wins.
|
lowest-numbered priority value wins.
|
||||||
|
|
||||||
Default value is 1000. Valid range is 0 through 65535.
|
Default value is 1000. Valid range is 0 through 65535.
|
||||||
|
|
||||||
* `tags` -
|
* `tags` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A list of instance tags to which this route applies.
|
A list of instance tags to which this route applies.
|
||||||
|
|
||||||
* `next_hop_gateway` -
|
* `next_hop_gateway` -
|
||||||
(Optional)
|
(Optional)
|
||||||
URL to a gateway that should handle matching packets.
|
URL to a gateway that should handle matching packets.
|
||||||
|
|
||||||
Currently, you can only specify the internet gateway, using a full or
|
Currently, you can only specify the internet gateway, using a full or
|
||||||
partial valid URL:
|
partial valid URL:
|
||||||
|
|
||||||
* https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway
|
* https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway
|
||||||
* projects/project/global/gateways/default-internet-gateway
|
* projects/project/global/gateways/default-internet-gateway
|
||||||
* global/gateways/default-internet-gateway
|
* global/gateways/default-internet-gateway
|
||||||
You can also provide the string 'default-internet-gateway'.
|
You can also provide the string 'default-internet-gateway'.
|
||||||
|
|
||||||
* `next_hop_instance` -
|
* `next_hop_instance` -
|
||||||
(Optional)
|
(Optional)
|
||||||
URL to an instance that should handle matching packets.
|
URL to an instance that should handle matching packets.
|
||||||
You can specify this as a full or partial URL. For example:
|
You can specify this as a full or partial URL. For example:
|
||||||
|
|
||||||
* https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance
|
* https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance
|
||||||
* projects/project/zones/zone/instances/instance
|
* projects/project/zones/zone/instances/instance
|
||||||
* zones/zone/instances/instance
|
* zones/zone/instances/instance
|
||||||
You can also provide just the instance name, with the zone in
|
You can also provide just the instance name, with the zone in
|
||||||
`next_hop_instance_zone`.
|
`next_hop_instance_zone`.
|
||||||
|
|
||||||
* `next_hop_ip` -
|
* `next_hop_ip` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Network IP address of an instance that should handle matching packets.
|
Network IP address of an instance that should handle matching packets.
|
||||||
|
|
||||||
* `next_hop_vpn_tunnel` -
|
* `next_hop_vpn_tunnel` -
|
||||||
(Optional)
|
(Optional)
|
||||||
URL to a VpnTunnel that should handle matching packets.
|
URL to a VpnTunnel that should handle matching packets.
|
||||||
|
|
||||||
* `project` (Optional) The ID of the project in which the resource belongs.
|
* `project` (Optional) The ID of the project in which the resource belongs.
|
||||||
If it is not provided, the provider project is used.
|
If it is not provided, the provider project is used.
|
||||||
|
|
||||||
|
|
||||||
* `next_hop_instance_zone` - (Optional when `next_hop_instance` is
|
* `next_hop_instance_zone` - (Optional when `next_hop_instance` is
|
||||||
specified) The zone of the instance specified in
|
specified) The zone of the instance specified in
|
||||||
`next_hop_instance`. Omit if `next_hop_instance` is specified as
|
`next_hop_instance`. Omit if `next_hop_instance` is specified as
|
||||||
a URL.
|
a URL.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
* `next_hop_network` -
|
* `next_hop_network` -
|
||||||
URL to a Network that should handle matching packets.
|
URL to a Network that should handle matching packets.
|
||||||
|
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
||||||
|
|
||||||
## Timeouts
|
## Timeouts
|
||||||
|
|
||||||
This resource provides the following
|
This resource provides the following
|
||||||
|
Loading…
Reference in New Issue
Block a user