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