fix: outputs using old reosurce naming
All checks were successful
development / Check commit compliance (push) Successful in 5s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s

This commit is contained in:
Bertrand Lanson 2024-05-26 22:24:33 +02:00
parent c268547bd8
commit 8d4263468f
Signed by: lanson
SSH Key Fingerprint: SHA256:/nqc6HGqld/PS208F6FUOvZlUzTS0rGpNNwR5O2bQBw

View File

@ -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
]
}