Make an Arch Linux Staff supergroup
This commit is contained in:
parent
9e237ed07e
commit
9dc5a14c34
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue