tp_cloud/terraform/modules/network/outputs.tf

14 lines
325 B
HCL

output "vpc_id" {
value = google_compute_network.my_new_vpc.id
description = "VPC ID"
}
output "subnet_ids" {
value = {
frontend = google_compute_subnetwork.frontend.id
backend = google_compute_subnetwork.backend.id
database = google_compute_subnetwork.database.id
}
description = "subnetworks ids"
}