From f6be7514125e616e749576cae9d804c49f7aa5fc Mon Sep 17 00:00:00 2001 From: thuret Date: Fri, 6 Dec 2024 15:54:45 +0100 Subject: [PATCH] update outputs --- terraform/environments/dev/outputs.tf | 4 ++++ terraform/modules/compute/outputs.tf | 3 +++ 2 files changed, 7 insertions(+) diff --git a/terraform/environments/dev/outputs.tf b/terraform/environments/dev/outputs.tf index c17571f..7efd6fe 100644 --- a/terraform/environments/dev/outputs.tf +++ b/terraform/environments/dev/outputs.tf @@ -25,3 +25,7 @@ output "instances_names" { database = module.compute.instances_names.database } } + +output "frontend_public_ip" { + value = module.compute.frontend_public_ip +} diff --git a/terraform/modules/compute/outputs.tf b/terraform/modules/compute/outputs.tf index 04a628f..3b86919 100644 --- a/terraform/modules/compute/outputs.tf +++ b/terraform/modules/compute/outputs.tf @@ -14,3 +14,6 @@ output "instances_names" { } } +output "frontend_public_ip" { + value = google_compute_instance.tp07-frontend.network_interface.0.access_config.0.nat_ip +} \ No newline at end of file