Terraform module to manage the following Twingate resources:
- authentik_user
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
]
}| Name | Version |
|---|---|
| terraform | >= 1.0 |
| authentik | ~> 2026.0 |
| Name | Version |
|---|---|
| authentik | ~> 2026.0 |
No modules.
| Name | Type |
|---|---|
| authentik_user.this | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| attributes | Custom attributes definition for the user | string |
"{}" |
no |
| 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 |
| Name | Description |
|---|---|
| id | The ID of this resource |
Created and maintained by Dennis Hoppe.
Apache 2 licensed. See LICENSE for full details.