This commit is contained in:
2023-10-15 13:57:17 +02:00
parent ace83c6b30
commit 394fbd6d30
8 changed files with 503 additions and 486 deletions

View File

@@ -5,7 +5,9 @@ locals {
sorted-teams = flatten([
for name in local.sorted-team-names: [
for team in var.teams:
team if team.name == name
merge({
"apps" = []
}, team) if team.name == name
]
])
}

View File

@@ -6,25 +6,6 @@ metadata:
name: division
description: null
options:
teams:
default: []
items:
properties:
apps:
default: []
items:
type: string
type: array
name:
default: ''
type: string
type: object
type: array
domain:
default: your-company
examples:
- your-company
type: string
parent:
default: employes
enum:
@@ -39,6 +20,25 @@ options:
items:
type: string
type: array
domain:
default: your-company
examples:
- your-company
type: string
teams:
default: []
items:
properties:
apps:
default: []
items:
type: string
type: array
name:
default: ''
type: string
type: object
type: array
dependencies:
- dist: null
category: share
@@ -50,4 +50,5 @@ providers:
postgresql: null
restapi: null
http: true
gitea: null
tfaddtype: true