This commit is contained in:
aissi
2025-12-04 09:54:39 +01:00
parent b90b7426dc
commit e27fac93e9

View File

@@ -15,7 +15,7 @@ resource "google_compute_instance" "frontend_vm" {
network_interface {
access_config {} # IP publique
subnetwork = google_compute_subnetwork.subnet_frontend.id
subnetwork = google_compute_network.vpc.id
}
tags = ["frontend", "ssh"]
@@ -41,7 +41,7 @@ resource "google_compute_instance" "backend_vm" {
network_interface {
subnetwork = google_compute_subnetwork.subnet_backend.id
subnetwork = google_compute_network.vpc.id
}
tags = ["backend", "ssh"]
@@ -68,7 +68,7 @@ resource "google_compute_instance" "database_vm" {
network_interface {
subnetwork = google_compute_subnetwork.subnet_database.id
subnetwork = google_compute_network.vpc.id
}
tags = ["database", "ssh"]