This commit is contained in:
James Boutaric
2025-12-04 10:15:36 +01:00
parent 540fb6c634
commit cfeee8df7f
13 changed files with 220 additions and 214 deletions

View File

@@ -1,3 +1,8 @@
# À vous d'exposer :
# 1. Les IPs internes de toutes les instances
# 2. L'IP publique du frontend
# 3. Les noms des instances
output "ip_internes" {
value = {
frontend = google_compute_instance.vm_frontend.network_interface[0].network_ip
@@ -16,4 +21,4 @@ output "nom_instances" {
backend = google_compute_instance.vm_backend.name
database = google_compute_instance.vm_database.name
}
}
}