fix
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
resource "authentik_group" "employes" {
|
||||
name = "employes"
|
||||
attributes = jsonencode(merge({},[for app in var.employes.apps: {"${app}" = true}]))
|
||||
attributes = jsonencode({for app in var.employes.apps: app => true})
|
||||
}
|
||||
|
||||
resource "authentik_group" "fournisseurs" {
|
||||
count = var.fournisseurs.enable ? 1 : 0
|
||||
name = "fournisseurs"
|
||||
attributes = jsonencode(merge({},[for app in var.fournisseurs.apps: {"${app}" = true}]))
|
||||
attributes = jsonencode({for app in var.fournisseurs.apps: app => true})
|
||||
}
|
||||
|
||||
resource "authentik_group" "clients" {
|
||||
count = var.clients.enable ? 1 : 0
|
||||
name = "clients"
|
||||
attributes = jsonencode(merge({},[for app in var.clients.apps: {"${app}" = true}]))
|
||||
attributes = jsonencode({for app in var.clients.apps: app => true})
|
||||
}
|
||||
|
||||
@@ -6,6 +6,11 @@ metadata:
|
||||
name: accounts-management
|
||||
description: null
|
||||
options:
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
clients:
|
||||
default:
|
||||
enable: false
|
||||
@@ -23,6 +28,23 @@ options:
|
||||
- enable: false
|
||||
apps: []
|
||||
type: object
|
||||
fournisseurs:
|
||||
default:
|
||||
enable: false
|
||||
apps: []
|
||||
properties:
|
||||
enable:
|
||||
type: boolean
|
||||
default: false
|
||||
apps:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
default: []
|
||||
examples:
|
||||
- enable: false
|
||||
apps: []
|
||||
type: object
|
||||
employes:
|
||||
default:
|
||||
apps: []
|
||||
@@ -35,28 +57,6 @@ options:
|
||||
examples:
|
||||
- apps: []
|
||||
type: object
|
||||
fournisseurs:
|
||||
default:
|
||||
enable: false
|
||||
apps: []
|
||||
properties:
|
||||
enable:
|
||||
type: boolean
|
||||
default: false
|
||||
apps:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
default: []
|
||||
examples:
|
||||
- enable: false
|
||||
apps: []
|
||||
type: object
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
dependencies:
|
||||
- dist: null
|
||||
category: share
|
||||
|
||||
Reference in New Issue
Block a user