access config
Jump to navigation
Jump to search
network_interface {
network = "default"
access_config {
// Ephemeral public IP
}
}
Gemini Jan 2026
.../...
network_interface {
network = data.google_compute_network.default.name
# This block assigns the public IP.
# Leaving it empty configures an Ephemeral IP.
# Passing the address argument locks it to your static IP.
access_config {
nat_ip = google_compute_address.static_public_ip.address
}
}
.../...
Terraform compute: google_compute_instance, google_compute_address, google_compute_firewall, google_compute_resource_policy, google_compute_network, google_compute_subnetwork
Advertising: