chore: cleanup unused config data

- remove token_policies from roles config data, this comes from policies.hcl inputs
- remove policies from ldap groups
- remove backend data from roles, this comes from config.hcl inputs
This commit is contained in:
2026-01-26 23:51:50 +11:00
parent 1c9e063310
commit f6d06cb319
28 changed files with 5 additions and 88 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ module "auth_ldap_group" {
groupname = each.value.groupname
backend = each.value.backend
policies = each.value.policies
policies = var.policy_auth_map[each.value.backend][each.value.groupname]
depends_on = [module.auth_ldap_backend]
}