From 8be1976676462492cf98ea4aecf221211d670ef8 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Sun, 19 Nov 2023 18:18:37 +0100 Subject: [PATCH] Add account for ju256 --- tf-stage-1/user_ju256.tf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tf-stage-1/user_ju256.tf diff --git a/tf-stage-1/user_ju256.tf b/tf-stage-1/user_ju256.tf new file mode 100644 index 0000000..3756bff --- /dev/null +++ b/tf-stage-1/user_ju256.tf @@ -0,0 +1,14 @@ +data "keycloak_user" "ju256" { + realm_id = data.keycloak_realm.realm.id + username = "ju256" +} + +resource "keycloak_user_groups" "ju256_groups" { + realm_id = data.keycloak_realm.realm.id + user_id = data.keycloak_user.ju256.id + exhaustive = true + group_ids = [ + module.hedgedocclient.access_group.id, + module.minifluxclient.access_group.id + ] +}