From 11bee43b1d202b7a64dab3d90594cfa979169606 Mon Sep 17 00:00:00 2001 From: nelet Date: Fri, 6 Dec 2024 15:46:42 +0100 Subject: [PATCH] inshBouddah --- tp-cloud/terraform/modules/compute/main.tf | 2 ++ 1 file changed, 2 insertions(+) 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"]