IAM
This commit is contained in:
18
terraform/modules/compute/outputs.tf
Normal file
18
terraform/modules/compute/outputs.tf
Normal file
@@ -0,0 +1,18 @@
|
||||
output "Intern"{
|
||||
value = {
|
||||
ip_front = google_compute_instance.vm-front.network_interface[0].network_ip,
|
||||
ip_back = google_compute_instance.vm-back.network_interface[0].network_ip,
|
||||
ip_db = google_compute_instance.vm-database.network_interface[0].network_ip
|
||||
}
|
||||
}
|
||||
|
||||
output "frontend_public_ip" {
|
||||
value = google_compute_instance.vm-front.network_interface[0].access_config[0].nat_ip
|
||||
}
|
||||
output "name"{
|
||||
value = {
|
||||
name_frontend = google_compute_instance.vm-front.name
|
||||
name_backend = google_compute_instance.vm-back.name
|
||||
name_database = google_compute_instance.vm-database.name
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user