Skip to content

dhoppeIT/terraform-authentik-user

Repository files navigation

terraform-authentik-user

Terraform module to manage the following Twingate resources:

  • authentik_user

Usage

Copy and paste the following code snippet to your Terraform configuration, specify the required variables and run the command terraform init.

module "authentik_group" {
  source  = "gitlab.com/terraform-child-modules-48151/terraform-authentik-group/local"
  version = "1.0.0"

  name = "example-group"
}

module "authentik_user" {
  source  = "gitlab.com/terraform-child-modules-48151/terraform-authentik-user/local"
  version = "1.0.0"

  username = "jdoe"

  name = "John Doe"
  groups = [
    module.authentik_group.id
  ]
}

Requirements

Name Version
terraform >= 1.0
authentik ~> 2026.0

Providers

Name Version
authentik ~> 2026.0

Modules

No modules.

Resources

Name Type
authentik_user.this resource

Inputs

Name Description Type Default Required
attributes Custom attributes definition for the user string "{}" no
email The email address of the user string null no
groups List of groups to apply to this user list(string) null no
is_active Define if the newly created user account is active bool true no
name The display name of the user string "" no
password The password of the user string null no
path The path where the user will be created string "users" no
roles List of roles to apply to this user list(string) null no
type The type the user will be created as string "internal" no
username Name of the user string n/a yes

Outputs

Name Description
id The ID of this resource

Authors

Created and maintained by Dennis Hoppe.

License

Apache 2 licensed. See LICENSE for full details.