From 9b6c3afef23dafa09dd6fffbab0238d8202269b8 Mon Sep 17 00:00:00 2001 From: Kartik Shah Date: Tue, 22 Feb 2022 13:54:09 +0530 Subject: [PATCH] chore: add auth pg outputs --- modules/platform/gcp/outputs.tf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/platform/gcp/outputs.tf b/modules/platform/gcp/outputs.tf index d4d456b2..e0161f36 100644 --- a/modules/platform/gcp/outputs.tf +++ b/modules/platform/gcp/outputs.tf @@ -34,3 +34,16 @@ output "shared_pg_admin_password" { value = local.deploy_shared_pg ? module.shared_pg.0.admin_password : "" sensitive = true } + +output "auth_pg_host" { + value = local.deploy_auth_pg ? module.auth_pg.0.private_ip : "" +} + +output "auth_pg_admin_username" { + value = local.deploy_auth_pg ? module.auth_pg.0.admin_username : "" +} + +output "auth_pg_admin_password" { + value = local.deploy_auth_pg ? module.auth_pg.0.admin_password : "" + sensitive = true +}