inshBouddah
This commit is contained in:
parent
b6c35219f5
commit
737af8639c
@ -9,4 +9,13 @@ output "instance_names" {
|
||||
|
||||
output "frontend_public_ip" {
|
||||
value = google_compute_instance.frontend.network_interface[0].access_config[0].nat_ip
|
||||
}
|
||||
|
||||
output "private_ip" {
|
||||
description = "IPs internes de toutes les instances"
|
||||
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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user