diff --git a/modules/compute/main.tf b/modules/compute/main.tf index 2e7d2c6..f5396b5 100644 --- a/modules/compute/main.tf +++ b/modules/compute/main.tf @@ -11,7 +11,7 @@ resource "google_compute_instance" "vm-front" { } network_interface { - subnetwork = google_compute_network.subnet1.id + network = google_compute_network.subnet1.id access_config {} # IP publique }