mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-06 17:16:44 +00:00
provider/google: Support static private IP addresses (#6310)
* provider/google: Support static private IP addresses The private address of an instance's network interface may now be specified. If no value is provided, an address will be chosen by Google Compute Engine and that value will be read into Terraform state. * docs: GCE private static IP address information
This commit is contained in:
parent
9f1f0b4aff
commit
68a3b283e3
@ -139,6 +139,9 @@ The `network_interface` block supports:
|
||||
to. The subnetwork must exist in the same region this instance will be
|
||||
created in. Either `network` or `subnetwork` must be provided.
|
||||
|
||||
* `address` - (Optional) The private IP address to assign to the instance. If
|
||||
empty, the address will be automatically assigned.
|
||||
|
||||
* `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 (this means that ssh provisioners will
|
||||
@ -189,7 +192,7 @@ exported:
|
||||
|
||||
* `tags_fingerprint` - The unique fingerprint of the tags.
|
||||
|
||||
* `network_interface.0.address` - The internal ip address of the instance (usually on the 10.x.x.x range).
|
||||
* `network_interface.0.address` - The internal ip address of the instance, either manually or dynamically assigned.
|
||||
|
||||
* `network_interface.0.access_config.0.assigned_nat_ip` - If the instance has an access config, either the given external ip (in the `nat_ip` field) or the ephemeral (generated) ip (if you didn't provide one).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user