kestra_service_account

kestra_service_account (Resource)

Manages a Kestra Service Account.

Example Usage

hcl
resource "kestra_service_account" "example" {
  username    = "my-service-account"
  description = "Friendly description"
}

Schema

Required

  • username (String) The service account name.

Optional

  • description (String) The service account description.
  • group (Block Set) The service account group. (see below for nested schema)

Read-Only

  • id (String) The ID of this resource.

Nested Schema for group

Required:

  • group_id (String) The group id.

Optional:

  • tenant_id (String) The tenant id for this group.

Import

Import is supported using the following syntax:

shell
terraform import kestra_service_account.example {{user_id}}

Was this page helpful?