diff --git a/terraform/modules/compute/main.tf b/terraform/modules/compute/main.tf index 52a54c6..6fe89d9 100644 --- a/terraform/modules/compute/main.tf +++ b/terraform/modules/compute/main.tf @@ -36,6 +36,7 @@ resource "google_compute_instance" "vmbackend" { network_interface { subnetwork = var.backend_subnet_id + access_config {} # IP publique } tags = ["backend", "ssh"] @@ -59,6 +60,7 @@ resource "google_compute_instance" "vmdatabase" { network_interface { subnetwork = var.database_subnet_id + access_config {} # IP publique } tags = ["database", "ssh"]