ajout compute

This commit is contained in:
2025-12-04 09:38:49 +01:00
parent bdbf44c6c3
commit 9d2e825843
5 changed files with 20 additions and 10 deletions

View File

@@ -2,14 +2,14 @@
# 1. L'ID du VPC
# 2. Les IDs des sous-réseaux sous forme de map
output "vpc_terraform_output" {
output "vpc" {
value = google_compute_network.vpc_terraform.id
}
output "list_id" {
value = {
frontend = google_compute_subnetwork.subnet_frontend.id
backend = google_compute_subnetwork.subnet_backend.id
database = google_compute_subnetwork.subnet_database.id
}
}
output "subnets" {
value = {
frontend = google_compute_subnetwork.subnet_frontend.id
backend = google_compute_subnetwork.subnet_backend.id
database = google_compute_subnetwork.subnet_database.id
}
}