From 8d4263468fc8ca88ab5eadf65969b99880e88850 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sun, 26 May 2024 22:24:33 +0200 Subject: [PATCH] fix: outputs using old reosurce naming --- outputs.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/outputs.tf b/outputs.tf index 89d5969..f9c022a 100644 --- a/outputs.tf +++ b/outputs.tf @@ -27,17 +27,17 @@ output "root_policy" { output "extra_roles" { value = { - for key, role in vault_approle_auth_backend_role.extra_roles : + for key, role in vault_approle_auth_backend_role.extra : key => { role_id = role.role_name - secret_id = vault_approle_auth_backend_role_secret_id.extra_roles[key].secret_id + secret_id = vault_approle_auth_backend_role_secret_id.extra[key].secret_id } } sensitive = true description = "The tenant extra approle roles" depends_on = [ - vault_approle_auth_backend_role.extra_roles, - vault_approle_auth_backend_role_secret_id.extra_roles + vault_approle_auth_backend_role.extra, + vault_approle_auth_backend_role_secret_id.extra ] }