You are viewing the docs for v1.3, which is not the latest release.
View latest

Manage Kestra Users with the Terraform Provider

For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append .md to any kestra.io/docs/* URL for plain Markdown.

Terraform Resource: kestra_user

Manages a Kestra User.

Example usage

hclresource "kestra_user" "example" {
  email       = "john@doe.com"
  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:

shellterraform import kestra_user.example {{user_id}}