This commit is contained in:
SimonSayeBabu 2024-12-06 15:46:40 +01:00
parent e02ee8673a
commit b3c485a7bc

View File

@ -36,6 +36,7 @@ resource "google_compute_instance" "vmbackend" {
network_interface { network_interface {
subnetwork = var.backend_subnet_id subnetwork = var.backend_subnet_id
access_config {} # IP publique
} }
tags = ["backend", "ssh"] tags = ["backend", "ssh"]
@ -59,6 +60,7 @@ resource "google_compute_instance" "vmdatabase" {
network_interface { network_interface {
subnetwork = var.database_subnet_id subnetwork = var.database_subnet_id
access_config {} # IP publique
} }
tags = ["database", "ssh"] tags = ["database", "ssh"]