Correctif Network + Compute qui nage

This commit is contained in:
2025-12-04 09:54:18 +00:00
parent 58d1ea2089
commit 1747539bf6
14 changed files with 1123 additions and 23 deletions

View File

@@ -0,0 +1,19 @@
output "ip-internes" {
value = {
frontend = google_compute_instance.frontend.network_interface[0].network_ip
backend = google_compute_instance.backend.network_interface[0].network_ip
database = google_compute_instance.database.network_interface[0].network_ip
}
}
output "id-public-frontend" {
value = google_compute_instance.frontend.network_interface[0].access_config[0].nat_ip
}
output "instances-names" {
value = {
frontend = google_compute_instance.frontend.name
backend = google_compute_instance.backend.name
database = google_compute_instance.database.name
}
}