2025-12-03 16:57:14 +01:00
|
|
|
output "vpc_id" {
|
2025-12-04 10:46:51 +01:00
|
|
|
description = "ID du VPC créé"
|
|
|
|
|
value = google_compute_network.vpc.id
|
2025-12-03 16:33:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
output "subnet_ids" {
|
2025-12-04 10:46:51 +01:00
|
|
|
description = "Map des IDs des sous-réseaux"
|
2025-12-03 16:57:14 +01:00
|
|
|
value = {
|
|
|
|
|
frontend = google_compute_subnetwork.frontend_network.id
|
|
|
|
|
backend = google_compute_subnetwork.backend_network.id
|
|
|
|
|
database = google_compute_subnetwork.database_network.id
|
|
|
|
|
}
|
2025-12-03 16:33:17 +01:00
|
|
|
}
|