From 4d5902108d73542a496e285e3947c2db84455a4c Mon Sep 17 00:00:00 2001 From: Robert Fairburn <8029478+rfairburn@users.noreply.github.com> Date: Mon, 2 Oct 2023 10:57:58 -0500 Subject: [PATCH] Update saml-auth-proxy addon to output its secret_id (#14231) This is needed to automatically populate the secret from outside of the module with an `aws_secretsmanager_secret_version` --- terraform/addons/saml-auth-proxy/outputs.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terraform/addons/saml-auth-proxy/outputs.tf b/terraform/addons/saml-auth-proxy/outputs.tf index 74fae54e09..1ff55fa95f 100644 --- a/terraform/addons/saml-auth-proxy/outputs.tf +++ b/terraform/addons/saml-auth-proxy/outputs.tf @@ -11,3 +11,7 @@ output "name" { output "lb_target_group_arn" { value = module.saml_auth_proxy_alb.target_group_arns[0] } + +output "secretsmanager_secret_id" { + value = aws_secretsmanager_secret.saml_auth_proxy_cert.id +}