diff --git a/oauth2/outputs.tf b/oauth2/outputs.tf index 8d6ef78..9b22cc4 100644 --- a/oauth2/outputs.tf +++ b/oauth2/outputs.tf @@ -9,8 +9,8 @@ output "sso_userinfo" { value = "https://${data.kubernetes_ingress_v1.authentik.spec[0].rule[0].host}/application/o/userinfo/" } output "client_id" { - value = data.kubernetes_secret_v1.oauth2-client-id.spec[0].data["client-id"] + value = data.kubernetes_secret_v1.oauth2-client-id.data["client-id"] } output "client_secret" { - value = data.kubernetes_secret_v1.oauth2-client-secret.spec[0].data["client-secret"] + value = data.kubernetes_secret_v1.oauth2-client-secret.data["client-secret"] }