This commit is contained in:
Florian GENIQUE 2024-12-06 16:38:27 +01:00
parent 1a96b7692d
commit c1097ec484

View File

@ -8,12 +8,12 @@ output "instance_name" {
output "ip_instance" { output "ip_instance" {
value = { value = {
frontend = google_compute_instance.vm_front.network_interface.0.network_ip frontend = google_compute_instance.vm-front.network_interface.0.network_ip
backend = google_compute_instance.vm_back.network_interface.0.network_ip backend = google_compute_instance.vm-back.network_interface.0.network_ip
database = google_compute_instance.vm_db.network_interface.0.network_ip database = google_compute_instance.vm-db.network_interface.0.network_ip
} }
} }
output "frontend_public_ip" { output "frontend_public_ip" {
value = google_compute_instance.vm_front.network_interface.0.access_config.0.nat_ip value = google_compute_instance.vm-front.network_interface.0.access_config.0.nat_ip
} }