diff --git a/terraform/environments/dev/outputs.tf b/terraform/environments/dev/outputs.tf index 3e65d2b..86b8abf 100644 --- a/terraform/environments/dev/outputs.tf +++ b/terraform/environments/dev/outputs.tf @@ -12,31 +12,31 @@ output "ip_public_frontend" { 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 + frontend = module.compute.nom_instances.frontend + backend = module.compute.nom_instances.backend + database = module.compute.nom_instances.database } } output "service_account_email" { description = "Service account email." - value = google_service_account.service_account.email + value = module.iam.service_account_email.value } output "service_account_key" { description = "Service account key." sensitive = true - value = google_service_account_key.mykey.private_key + value = module.iam.service_account_key.value } output "vpc" { - value = google_compute_network.vpc_terraform.id + value = module.network.vpc.value } output "subnets" { value = { - frontend = google_compute_subnetwork.subnet_frontend.id - backend = google_compute_subnetwork.subnet_backend.id - database = google_compute_subnetwork.subnet_database.id + frontend = module.network.subnet.frontend + backend = module.network.subnet.backend + database = module.network.subnet.database } } \ No newline at end of file