tp_cloud/terraform/modules/network/outputs.tf

14 lines
355 B
Terraform
Raw Normal View History

2024-12-04 17:28:21 +01:00
output "vpc_id" {
value = google_compute_network.my_vpc.id
description = "ID du VPC créé"
}
output "subnet_ids" {
value = {
frontend = google_compute_subnetwork.frontend.id
backend = google_compute_subnetwork.backend.id
database = google_compute_subnetwork.database.id
}
description = "Map contenant les IDs des sous-réseaux"
}