kestra_service_account

kestra_service_account (Resource)

Manages a Kestra Service Account.

Example usage

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

shell
terraform import kestra_service_account.example {{user_id}}

Was this page helpful?