# IP interne de chaque instance output "frontend_internal_ip" { value = google_compute_instance.frontend.network_interface[0].network_ip } output "backend_internal_ip" { value = google_compute_instance.backend.network_interface[0].network_ip } output "database_internal_ip" { value = google_compute_instance.database.network_interface[0].network_ip } # IP publique du frontend output "frontend_public_ip" { value = google_compute_instance.frontend.network_interface[0].access_config[0].nat_ip } # Noms des instances output "frontend_name" { value = google_compute_instance.frontend.name } output "backend_name" { value = google_compute_instance.backend.name } output "database_name" { value = google_compute_instance.database.name }