This commit is contained in:
James Boutaric
2025-12-04 10:03:07 +01:00
parent a1aee0dd84
commit 540fb6c634
13 changed files with 184 additions and 177 deletions

View File

@@ -1,19 +1,17 @@
# output "instance_ip" {
# value = google_compute_instance.main.network_interface[0].access_config[0].nat_ip
# }
output "vpc_terraform" {
description = "ID du VPC créé"
value = google_compute_network.vpc.id
}
output "subnet_ids" {
description = "Map des IDs des sous-réseaux"
value = {
frontend = google_compute_subnetwork.frontend.id
backend = google_compute_subnetwork.backend.id
database = google_compute_subnetwork.database.id
frontend = google_compute_subnetwork.frontend_network.id
backend = google_compute_subnetwork.backend_network.id
database = google_compute_subnetwork.database_network.id
}
}
}