This commit is contained in:
Guillaume VALLAT 2024-12-06 14:16:05 +01:00
parent b451708708
commit 9c02b07829

View File

@ -9,19 +9,20 @@ resource "google_compute_instance" "vm-front" {
size = 10
}
}
network_interface {
network = google_compute_network.subnet1.id
access_config {} # IP publique
}
tags = ["web", "ssh"]
metadata = {
enable-oslogin = "TRUE"
}
}
network_interface {
network = google_compute_network.subnet1.id
access_config {} # IP publique
}
tags = ["web", "ssh"]
metadata = {
enable-oslogin = "TRUE"
}
resource "google_compute_instance" "vm-back" {
name = "vm-back"
machine_type = var.instance_type