From a66efccb6ba4a1d9127043000212a5369cda14c2 Mon Sep 17 00:00:00 2001 From: Tom Moguljak Date: Wed, 4 Dec 2024 16:54:50 +0100 Subject: [PATCH] Ajout de l'output --- terraform/modules/network/outputs.tf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/terraform/modules/network/outputs.tf b/terraform/modules/network/outputs.tf index e69de29..2130076 100644 --- a/terraform/modules/network/outputs.tf +++ b/terraform/modules/network/outputs.tf @@ -0,0 +1,12 @@ +# Output +output "vpc_id" { + value = google_compute_network.vpc.id +} + +output "subnet_id" { + value = { + frontend = google_compute_subnetwork.frontend.id + backend = google_compute_subnetwork.backend.id + database = google_compute_subnetwork.database.id + } +} \ No newline at end of file