compute
This commit is contained in:
parent
ceba1f98f8
commit
ea72883bb8
@ -0,0 +1,19 @@
|
||||
output "vm_name" {
|
||||
value = {
|
||||
frontend = google_compute_instance.vmfrontend.name,
|
||||
backend = google_compute_instance.vmbackend.name,
|
||||
database = google_compute_instance.vmdatabase.name
|
||||
}
|
||||
}
|
||||
|
||||
output "frontend_public_ip" {
|
||||
value = google_compute_instance.vmfrontend.network_interface[0].access_config[0].nat_ip
|
||||
}
|
||||
|
||||
output "private_ip" {
|
||||
value = {
|
||||
frontend = google_compute_instance.vmfrontend.network_interface[0].network_ip,
|
||||
backend = google_compute_instance.vmbackend.network_interface[0].network_ip,
|
||||
database = google_compute_instance.vmdatabase.network_interface[0].network_ip
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user