forked from pierront/but3-iac
fin de la partie 4
This commit is contained in:
@@ -18,24 +18,15 @@ output "nom_instances" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
output "ip_internes" {
|
output "service_account_email" {
|
||||||
value = {
|
description = "Service account email."
|
||||||
frontend = google_compute_instance.vm_frontend.network_interface[0].network_ip
|
value = google_service_account.service_account.email
|
||||||
backend = google_compute_instance.vm_backend.network_interface[0].network_ip
|
|
||||||
database = google_compute_instance.vm_database.network_interface[0].network_ip
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
output "ip_public_frontend" {
|
output "service_account_key" {
|
||||||
value = google_compute_instance.vm_frontend.network_interface[0].access_config[0].nat_ip
|
description = "Service account key."
|
||||||
}
|
sensitive = true
|
||||||
|
value = google_service_account_key.mykey.private_key
|
||||||
output "nom_instances" {
|
|
||||||
value = {
|
|
||||||
frontend = google_compute_instance.vm_frontend.name
|
|
||||||
backend = google_compute_instance.vm_backend.name
|
|
||||||
database = google_compute_instance.vm_database.name
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
output "vpc" {
|
output "vpc" {
|
||||||
|
|||||||
Reference in New Issue
Block a user