ajout des configs terraform

This commit is contained in:
2025-12-03 15:50:34 +01:00
parent e67b5bf03c
commit f8a428dd6e
12 changed files with 467 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
output "vpc_id" {
description = "L'ID du VPC créé."
value = google_compute_network.vpc_network.id
}
output "subnets_map" {
description = "Map des IDs des sous-réseaux."
value = {
frontend = google_compute_subnetwork.frontend_subnet.id
backend = google_compute_subnetwork.backend_subnet.id
database = google_compute_subnetwork.database_subnet.id
}
}
output "network_name" {
description = "Le nom du VPC créé."
value = google_compute_network.vpc_network.name
}