fix: some more old naming things
This commit is contained in:
parent
8d4263468f
commit
83d807d69e
@ -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]
|
||||||
}
|
}
|
||||||
|
4
root.tf
4
root.tf
@ -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" {}
|
||||||
|
Loading…
Reference in New Issue
Block a user