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