2024-12-06 15:10:53 +01:00
|
|
|
output "instance_names" {
|
|
|
|
description = "Noms des instances"
|
|
|
|
value = {
|
|
|
|
frontend = google_compute_instance.frontend.name
|
|
|
|
backend = google_compute_instance.backend.name
|
|
|
|
database = google_compute_instance.database.name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
output "frontend_public_ip" {
|
|
|
|
value = google_compute_instance.frontend.network_interface[0].access_config[0].nat_ip
|
|
|
|
}
|