From 04c4702a0267ea4ed21eaf8926165d6a8114b324 Mon Sep 17 00:00:00 2001 From: Vallat Date: Wed, 4 Dec 2024 17:28:21 +0100 Subject: [PATCH] my bad, les noms --- modules/compute/main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/compute/main.tf b/modules/compute/main.tf index b3cd088..a9b06dc 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_subnetwork.subnet.id + subnetwork = google_compute_subnetwork.subnet1.id access_config {} # IP publique } @@ -35,7 +35,7 @@ resource "google_compute_instance" "vm-back" { } network_interface { - subnetwork = google_compute_subnetwork.subnet.id + subnetwork = google_compute_subnetwork.subnet2.id access_config {} # IP publique } @@ -59,7 +59,7 @@ resource "google_compute_instance" "vm-database" { } network_interface { - subnetwork = google_compute_subnetwork.subnet.id + subnetwork = google_compute_subnetwork.subnet3.id access_config {} # IP publique }