terraform/authentik/users.tf

37 lines
744 B
Terraform
Raw Normal View History

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