terraform/authentik/users.tf
Chris Cowley d908078ee6
Some checks failed
/ non-lab (push) Failing after 12m13s
many things
2025-02-19 10:59:18 +00:00

51 lines
1 KiB
HCL

#resource "authentik_user" "chriscowley" {
# username = "chriscowley"
# name = "Chris Cowley"
#
# email = "chriscowleysound@gmail.com"
#
# groups = [
# data.authentik_group.admins.id,
# authentik_group.grafana_admins.id,
# ]
# is_active = false
#}
resource "authentik_user" "chris" {
username = "chris"
name = "Chris Cowley"
email = "chris@cowley.tech"
groups = [
data.authentik_group.admins.id,
authentik_group.grafana_admins.id,
#authentik_group.nextcloud_admins.id,
authentik_group.arr-users.id
]
attributes = jsonencode(
{
nextcloud_user_id = "chris"
}
)
}
#
resource "authentik_user" "nadege" {
username = "nadege"
name = "Nadege Cowley"
email = "nadege@cowley.tech"
attributes = jsonencode(
{
nextcloud_user_id = "nadege"
}
)
}
resource "authentik_user" "nicolas" {
username = "nicolas"
name = "Nicolas Cowley"
email = "colas@cowley.tech"
attributes = jsonencode(
{
nextcloud_user_id = "nicolas"
}
)
}