Kestra Terraform Provider – Manage Users

Terraform Resource: kestra_user

Manages a Kestra User.

Example usage

resource "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:

terraform import kestra_user.example {{user_id}}

Was this page helpful?