Make user groups exhaustive
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tobias 2023-11-19 00:19:16 +01:00
parent e4bc073b7b
commit 4a154b10c8

View File

@ -1,20 +1,20 @@
data "keycloak_user" "rad4day" { data "keycloak_user" "rad4day" {
realm_id = data.keycloak_realm.realm.id realm_id = data.keycloak_realm.realm.id
username = "rad4day" username = "rad4day"
} }
resource "keycloak_user_groups" "rad4day_groups" { resource "keycloak_user_groups" "rad4day_groups" {
realm_id = data.keycloak_realm.realm.id realm_id = data.keycloak_realm.realm.id
user_id = data.keycloak_user.rad4day.id user_id = data.keycloak_user.rad4day.id
exhaustive = false exhaustive = true
group_ids = [ group_ids = [
module.giteaclient.access_group.id, module.giteaclient.access_group.id,
module.giteaclient.admin_group.id, module.giteaclient.admin_group.id,
module.grafanaclient.access_group.id, module.grafanaclient.access_group.id,
module.grafanaclient.admin_group.id, module.grafanaclient.admin_group.id,
module.hedgedocclient.access_group.id, module.hedgedocclient.access_group.id,
module.minifluxclient.access_group.id, module.minifluxclient.access_group.id,
module.synapseclient.access_group.id, module.synapseclient.access_group.id,
module.seafileclient.access_group.id, module.seafileclient.access_group.id,
] ]
} }