From a529c061822189e93acce6544f7a177fb1ecbdd3 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Wed, 3 Jan 2024 23:33:44 +0100 Subject: [PATCH] Manage user e1mo --- tf-stage-1/user_e1mo.tf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tf-stage-1/user_e1mo.tf diff --git a/tf-stage-1/user_e1mo.tf b/tf-stage-1/user_e1mo.tf new file mode 100644 index 0000000..324a9ea --- /dev/null +++ b/tf-stage-1/user_e1mo.tf @@ -0,0 +1,13 @@ +data "keycloak_user" "e1mo" { + realm_id = data.keycloak_realm.realm.id + username = "e1mo" +} + +resource "keycloak_user_groups" "e1mo_groups" { + realm_id = data.keycloak_realm.realm.id + user_id = data.keycloak_user.e1mo.id + exhaustive = true + group_ids = [ + module.seafileclient.access_group.id, + ] +}