This commit is contained in:
2024-12-06 14:37:01 +01:00
parent 613b665819
commit fa50fd3ea9
2 changed files with 15 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ resource "google_compute_instance" "vm-front" {
}
}
network_interface {
subnetwork = google_compute_network.subnet1.id
subnetwork = "google_compute_network.subnet1.id"
access_config {} # IP publique
}
@@ -35,7 +35,7 @@ resource "google_compute_instance" "vm-back" {
}
network_interface {
subnetwork = google_compute_network.subnet2.id
subnetwork = "google_compute_network.subnet2.id"
access_config {} # IP publique
}
@@ -59,7 +59,7 @@ resource "google_compute_instance" "vm-database" {
}
network_interface {
subnetwork = google_compute_network.subnet3.id
subnetwork = "google_compute_network.subnet3.id"
access_config {} # IP publique
}