This commit is contained in:
2024-12-06 15:07:16 +01:00
parent a039557abb
commit a8cddb7868
2 changed files with 3 additions and 14 deletions

View File

@@ -10,7 +10,7 @@ resource "google_compute_instance" "vm-front" {
}
}
network_interface {
subnetwork = google_compute_network.subnet_front.id
subnetwork = google_compute_network.frontend.id
access_config {} # IP publique
}
@@ -35,7 +35,7 @@ resource "google_compute_instance" "vm-back" {
}
network_interface {
subnetwork = google_compute_network.subnet_back.id
subnetwork = google_compute_network.backend.id
access_config {} # IP publique
}
@@ -59,7 +59,7 @@ resource "google_compute_instance" "vm-database" {
}
network_interface {
subnetwork = google_compute_network.subnet_db.id
subnetwork = google_compute_network.database.id
access_config {} # IP publique
}