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