terraform/authentik/users.tf

52 lines
1 KiB
Terraform
Raw Normal View History

2025-02-19 10:59:18 +00:00
#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
#}
2024-08-04 16:16:53 +02:00
resource "authentik_user" "chris" {
username = "chris"
name = "Chris Cowley"
email = "chris@cowley.tech"
groups = [
data.authentik_group.admins.id,
authentik_group.grafana_admins.id,
2025-02-19 10:59:18 +00:00
#authentik_group.nextcloud_admins.id,
2024-09-13 10:12:28 +02:00
authentik_group.arr-users.id
2024-08-04 16:16:53 +02:00
]
2025-02-19 10:59:18 +00:00
attributes = jsonencode(
{
nextcloud_user_id = "chris"
}
)
2024-08-04 16:16:53 +02:00
}
2025-02-19 10:59:18 +00:00
#
2024-08-04 16:16:53 +02:00
resource "authentik_user" "nadege" {
username = "nadege"
name = "Nadege Cowley"
email = "nadege@cowley.tech"
2025-02-19 10:59:18 +00:00
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"
}
)
2024-06-27 10:09:49 +02:00
}