From b2140c98d034c82f39ca735628de611d77358c47 Mon Sep 17 00:00:00 2001 From: The Magician Date: Fri, 6 Jul 2018 14:53:00 -0700 Subject: [PATCH] Magic Modules changes. (#1738) --- website/docs/r/compute_route.html.markdown | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/website/docs/r/compute_route.html.markdown b/website/docs/r/compute_route.html.markdown index d1d0e031..61bf97e1 100644 --- a/website/docs/r/compute_route.html.markdown +++ b/website/docs/r/compute_route.html.markdown @@ -80,7 +80,6 @@ The following arguments are supported: (Required) The destination range of outgoing packets that this route applies to. Only IPv4 is supported. - * `name` - (Required) Name of the resource. Provided by the client when the resource is @@ -90,7 +89,6 @@ The following arguments are supported: the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - * `network` - (Required) The network that this route applies to. @@ -102,64 +100,62 @@ The following arguments are supported: (Optional) An optional description of this resource. Provide this property when you create the resource. - * `priority` - (Optional) 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. + In the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. + Default value is 1000. Valid range is 0 through 65535. - * `tags` - (Optional) A list of instance tags to which this route applies. - * `next_hop_gateway` - (Optional) URL to a gateway that should handle matching packets. + Currently, you can only specify the internet gateway, using a full or partial valid URL: + * https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway * projects/project/global/gateways/default-internet-gateway * global/gateways/default-internet-gateway You can also provide the string 'default-internet-gateway'. - * `next_hop_instance` - (Optional) URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance * projects/project/zones/zone/instances/instance * zones/zone/instances/instance You can also provide just the instance name, with the zone in `next_hop_instance_zone`. - * `next_hop_ip` - (Optional) Network IP address of an instance that should handle matching packets. - * `next_hop_vpn_tunnel` - (Optional) URL to a VpnTunnel that should handle matching packets. - * `project` (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used. + * `next_hop_instance_zone` - (Optional when `next_hop_instance` is specified) The zone of the instance specified in `next_hop_instance`. Omit if `next_hop_instance` is specified as a URL. - ## Attributes Reference In addition to the arguments listed above, the following computed attributes are exported: * `next_hop_network` - URL to a Network that should handle matching packets. - * `self_link` - The URI of the created resource. + ## Timeouts This resource provides the following