update network&compute outputs
This commit is contained in:
parent
72185086d9
commit
5eb4eec439
@ -0,0 +1,15 @@
|
||||
output "instances_internal_ips" {
|
||||
value = {
|
||||
frontend = google_compute_instance.tp07-frontend.network_interface.0.network_ip,
|
||||
backend = google_compute_instance.tp07-backend.network_interface.0.network_ip,
|
||||
database = google_compute_instance.tp07-database.network_interface.0.network_ip
|
||||
}
|
||||
}
|
||||
|
||||
output "instances_names" {
|
||||
value = {
|
||||
frontend = google_compute_instance.tp07-frontend.name,
|
||||
backend = google_compute_instance.tp07-backend.name,
|
||||
database = google_compute_instance.tp07-database.name
|
||||
}
|
||||
}
|
@ -4,8 +4,8 @@ output "vpc_id" {
|
||||
|
||||
output "subnets_ids" {
|
||||
value = {
|
||||
frontend = google_compute_subnetwork.tp07-frontend.id
|
||||
backend = google_compute_subnetwork.tp07-backend.id
|
||||
frontend = google_compute_subnetwork.tp07-frontend.id,
|
||||
backend = google_compute_subnetwork.tp07-backend.id,
|
||||
database = google_compute_subnetwork.tp07-database.id
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user