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

Manage Kestra Service Accounts 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_service_account

Manages a Kestra Service Account.

Example usage

hclresource "kestra_service_account" "example" {
  name        = "my-service-account"
  description = "Friendly description"
}

Schema

Required

  • name (String) The service account name.

Optional

  • description (String) The service account description.
  • groups (Block Set) The service account group. (see below for nested schema)
  • super_admin (Boolean) Is the service account a super admin.

Read-Only

  • id (String) The ID of this resource.

Nested schema for groups

Required:

  • id (String) The group id.

Import

Import is supported using the following syntax:

shellterraform import kestra_service_account.example {{user_id}}