fix
This commit is contained in:
@@ -25,5 +25,5 @@ resource "authentik_group" "teams" {
|
|||||||
count = length(local.sorted-teams)
|
count = length(local.sorted-teams)
|
||||||
name = "team-${var.instance}-${local.sorted-teams[count.index].name}"
|
name = "team-${var.instance}-${local.sorted-teams[count.index].name}"
|
||||||
parent = authentik_group.division.id
|
parent = authentik_group.division.id
|
||||||
attributes = jsonencode({for app in local.sorted-teams[count.index].apps: app => true})
|
attributes = jsonencode({for app in lookup(local.sorted-teams[count.index],"apps", []): app => true})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,11 +20,6 @@ options:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
teams:
|
teams:
|
||||||
default: []
|
default: []
|
||||||
items:
|
items:
|
||||||
@@ -39,6 +34,11 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
|
|||||||
Reference in New Issue
Block a user