From 18dbefc7568f52847175bb1df027a0cd8b4d6275 Mon Sep 17 00:00:00 2001 From: Michael Scribellito Date: Mon, 8 Apr 2024 15:17:10 -0400 Subject: [PATCH] add output --- outputs.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/outputs.tf b/outputs.tf index d0fcfa6..4c5dbc6 100644 --- a/outputs.tf +++ b/outputs.tf @@ -34,9 +34,9 @@ output "gce_ssh_private_key" { value = google_secret_manager_secret.gce_ssh_private_key.id } -# output "winbastion_administrator" { -# value = module.winbastion_administrator.names[0] -# } +output "log_export_bucket" { + value = try(module.destination[0].resource_name, null) +} output "cs_buckets" { value = module.gcs.names