Skip to content

Commit e5995f6

Browse files
authored
Add support for alias_ip_range in google_compute_instance network interface (hashicorp#375)
1 parent 95b1c4e commit e5995f6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/r/compute_instance.html.markdown

+15
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,26 @@ The `network_interface` block supports:
229229
on that network). This block can be repeated multiple times. Structure
230230
documented below.
231231

232+
* `alias_ip_range` - (Optional, [Beta](/docs/providers/google/index.html#beta-features)) An
233+
array of alias IP ranges for this network interface. Can only be specified for network
234+
interfaces on subnet-mode networks. Structure documented below.
235+
232236
The `access_config` block supports:
233237

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

241+
The `alias_ip_range` block supports:
242+
243+
* `ip_cidr_range` - The IP CIDR range represented by this alias IP range. This IP CIDR range
244+
must belong to the specified subnetwork and cannot contain IP addresses reserved by
245+
system or used by other network interfaces. This range may be a single IP address
246+
(e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format string (e.g. 10.1.2.0/24).
247+
248+
* `subnetwork_range_name` - (Optional) The subnetwork secondary range name specifying
249+
the secondary range from which to allocate the IP CIDR range for this alias IP
250+
range. If left unspecified, the primary range of the subnetwork will be used.
251+
237252
The `service_account` block supports:
238253

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

0 commit comments

Comments
 (0)