From ba3ed7673faeede5c9e06e909b44e29cf6289748 Mon Sep 17 00:00:00 2001 From: Yanis DARIUS Date: Fri, 6 Dec 2024 15:00:47 +0100 Subject: [PATCH] Actualiser tp-cloud/terraform/modules/network/outputs.tf --- tp-cloud/terraform/modules/network/outputs.tf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tp-cloud/terraform/modules/network/outputs.tf b/tp-cloud/terraform/modules/network/outputs.tf index e69de29..38df9ba 100644 --- a/tp-cloud/terraform/modules/network/outputs.tf +++ b/tp-cloud/terraform/modules/network/outputs.tf @@ -0,0 +1,11 @@ +output "id_vpc" { + value = google_compute_network.vpc.id +} + +output "id_subnetwork" { + value = { + frontend = google_compute_subnetwork.frontend_subnet.id, + backend = google_compute_subnetwork.backend_subnet.id, + database = google_compute_subnetwork.database_subnet.id + } +} \ No newline at end of file