Skip to content

Commit

Permalink
Add support for alias_ip_range in google_compute_instance network int…
Browse files Browse the repository at this point in the history
…erface (hashicorp#375)
  • Loading branch information
rosbo authored Sep 7, 2017
1 parent 95b1c4e commit e5995f6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/r/compute_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,26 @@ The `network_interface` block supports:
on that network). This block can be repeated multiple times. Structure
documented below.

* `alias_ip_range` - (Optional, [Beta](/docs/providers/google/index.html#beta-features)) An
array of alias IP ranges for this network interface. Can only be specified for network
interfaces on subnet-mode networks. Structure documented below.

The `access_config` block supports:

* `nat_ip` - (Optional) The IP address that will be 1:1 mapped to the instance's
network ip. If not given, one will be generated.

The `alias_ip_range` block supports:

* `ip_cidr_range` - The IP CIDR range represented by this alias IP range. This IP CIDR range
must belong to the specified subnetwork and cannot contain IP addresses reserved by
system or used by other network interfaces. This range may be a single IP address
(e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format string (e.g. 10.1.2.0/24).

* `subnetwork_range_name` - (Optional) The subnetwork secondary range name specifying
the secondary range from which to allocate the IP CIDR range for this alias IP
range. If left unspecified, the primary range of the subnetwork will be used.

The `service_account` block supports:

* `email` - (Optional) The service account e-mail address. If not given, the
Expand Down

0 comments on commit e5995f6

Please sign in to comment.