1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-25 19:11:14 +02:00

Make an Arch Linux Staff supergroup

This commit is contained in:
Sven-Hendrik Haase 2020-05-19 17:28:28 +02:00
parent 9e237ed07e
commit 9dc5a14c34
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915

View File

@ -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
}