Skip to content

dhoppeIT/terraform-twingate-user

Repository files navigation

terraform-twingate-user

Terraform module to manage the following Twingate resources:

  • twingate_user

Usage

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

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

  email = "john.doe@example.com"

  first_name = "John"
  last_name  = "Doe"
}

Requirements

Name Version
terraform >= 1.0
twingate ~> 3.0

Providers

Name Version
twingate ~> 3.0

Modules

No modules.

Resources

Name Type
twingate_user.this resource

Inputs

Name Description Type Default Required
email The User's email address string n/a yes
first_name The User's first name string null no
is_active Determines whether the User is active or not bool true no
last_name The User's last name string null no
role Determines the User's role string null no
send_invite Determines whether to send an email invitation to the User bool true no

Outputs

Name Description
id Autogenerated ID of the User, encoded in base64
type Indicates the User's type

Authors

Created and maintained by Dennis Hoppe.

License

Apache 2 licensed. See LICENSE for full details.