tp_cloud/terraform/modules/network/outputs.tf

14 lines
325 B
Terraform
Raw Permalink Normal View History

output "vpc_id" {
2024-12-06 16:54:49 +01:00
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"
}