virtualisation/modules/network/outputs.tf

11 lines
251 B
Terraform
Raw Normal View History

2024-12-06 14:28:48 +01:00
output "vpc"{
2024-12-06 14:35:51 +01:00
value = google_compute_network.vpc.id
2024-12-06 14:28:48 +01:00
}
output "subnet" {
value = {
frontend = google_compute_subnetwork.subnet1.id,
backend = google_compute_subnetwork.subnet2.id,
database = google_compute_subnetwork.subnet3.id
}
}