This commit is contained in:
2025-12-04 09:34:34 +01:00
parent 148a40abe7
commit 9c1aa38d3c

View File

@@ -11,13 +11,15 @@ output "list_id" {
} }
output "vpc_id" { output "vpc_id" {
value = google_compute_network.vpc.id description = "ID du VPC créé"
value = google_compute_network.vpc_terraform.id
} }
output "subnets" { output "subnets" {
description = "IDs des subnets du VPC"
value = { value = {
frontend = google_compute_subnetwork.frontend.id frontend = google_compute_subnetwork.subnet_frontend.id
backend = google_compute_subnetwork.backend.id backend = google_compute_subnetwork.subnet_backend.id
database = google_compute_subnetwork.database.id database = google_compute_subnetwork.subnet_database.id
} }
} }