fix: some more old naming things
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:25:55 +02:00
parent 8d4263468f
commit 83d807d69e
Signed by: lanson
SSH Key Fingerprint: SHA256:/nqc6HGqld/PS208F6FUOvZlUzTS0rGpNNwR5O2bQBw
2 changed files with 4 additions and 4 deletions

View File

@ -43,10 +43,10 @@ output "extra_roles" {
output "extra_role_policies" { output "extra_role_policies" {
value = { value = {
for key, policy in vault_policy.extra_policies : for key, policy in vault_policy.extra :
key => policy.name key => policy.name
} }
sensitive = false sensitive = false
description = "The tenant extra role policy names" description = "The tenant extra role policy names"
depends_on = [vault_policy.extra_policies] depends_on = [vault_policy.extra]
} }

View File

@ -1,7 +1,7 @@
resource "vault_approle_auth_backend_role" "root" { resource "vault_approle_auth_backend_role" "root" {
backend = vault_auth_backend.approle.path backend = vault_auth_backend.approle.path
role_name = "${var.name}-admin" role_name = "${var.name}-root"
token_policies = ["default", vault_policy.tenant_admin.name] token_policies = ["default", vault_policy.root.name]
} }
resource "random_uuid" "root_secret_id" {} resource "random_uuid" "root_secret_id" {}