Skip to content
Snippets Groups Projects
Verified Commit 9dc5a14c authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Make an Arch Linux Staff supergroup

parent 9e237ed0
No related branches found
No related tags found
No related merge requests found
Pipeline #86 failed
......@@ -156,6 +156,11 @@ resource "keycloak_saml_user_property_protocol_mapper" "gitlab_saml_username" {
saml_attribute_name_format = "Basic"
}
resource "keycloak_group" "archlinux_staff" {
realm_id = "archlinux"
name = "Arch Linux Staff"
}
variable "arch_groups" {
type = set(string)
default = ["DevOps", "Developers", "Trusted Users"]
......@@ -165,6 +170,7 @@ resource "keycloak_group" "arch_groups" {
for_each = var.arch_groups
realm_id = "archlinux"
parent_id = keycloak_group.archlinux_staff.id
name = each.value
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment