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