correction error

This commit is contained in:
2025-12-04 09:03:43 +01:00
parent 70a151e64f
commit 784293cde6

View File

@@ -39,7 +39,7 @@ resource "google_compute_instance" "vm_frontend" {
network_interface { network_interface {
access_config {} # IP publique access_config {} # IP publique
subnetwork = google_compute_subnetwork.subnet.id subnetwork = var.frontend_subnet_id
} }
tags = ["frontend", "ssh"] tags = ["frontend", "ssh"]
@@ -64,7 +64,7 @@ resource "google_compute_instance" "vm_backend" {
} }
network_interface { network_interface {
subnetwork = google_compute_subnetwork.subnet.id subnetwork = var.backend_subnet_id
} }
tags = ["backend", "ssh"] tags = ["backend", "ssh"]
@@ -89,7 +89,7 @@ resource "google_compute_instance" "vm_database" {
} }
network_interface { network_interface {
subnetwork = google_compute_subnetwork.subnet.id subnetwork = var.database_subnet_id
} }
tags = ["database", "ssh"] tags = ["database", "ssh"]