kestra_user

kestra_user (Resource)

Manages a Kestra User.

Example usage

hcl
resource "kestra_user" "example" {
  email       = "[email protected]"
  namespace   = "company.team"
  description = "Friendly description"
  first_name  = "John"
  last_name   = "Doe"
  groups      = ["4by6NvSLcPXFhCj8nwbZOM"]
}

Schema

Required

  • email (String) The user email.

Optional

  • description (String) The user description.
  • first_name (String) The user first name.
  • groups (List of String) The user groups id.
  • last_name (String) The user last name.
  • namespace (String) The linked namespace.

Read-Only

  • id (String) The ID of this resource.
  • username (String) The user name. Always the email.

Import

Import is supported using the following syntax:

shell
terraform import kestra_user.example {{user_id}}

Was this page helpful?