diff --git a/r/compute_instance.html.markdown b/r/compute_instance.html.markdown index c7bc4100..1074d011 100644 --- a/r/compute_instance.html.markdown +++ b/r/compute_instance.html.markdown @@ -133,6 +133,10 @@ 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. +* `assigned_nat_ip` - (Optional) The IP address that is assigned to the + instance. If `nat_ip` is filled, it will appear here. If `nat_ip` is left + blank, the ephemeral assigned IP will appear here. + (DEPRECATED) The `network` block supports: * `source` - (Required) The name of the network to attach this interface to. diff --git a/r/dns_record_set.markdown b/r/dns_record_set.markdown index 79ad2eb3..a4fd97af 100644 --- a/r/dns_record_set.markdown +++ b/r/dns_record_set.markdown @@ -40,7 +40,7 @@ resource "google_dns_record_set" "frontend" { name = "frontend.${google_dns_managed_zone.prod.dns_name}" type = "A" ttl = 300 - rrdatas = ["${google_compute_instance.frontend.network_interface.0.access_config.0.nat_ip}"] + rrdatas = ["${google_compute_instance.frontend.network_interface.0.access_config.0.assigned_nat_ip}"] } ```