kestra_tenant (Resource)

Manages a Kestra Tenant.

Example Usage

hcl
resource "kestra_tenant" "example" {
  tenant_id = "my-tenant"
  name      = "My Tenant"
}

Schema

Required

  • tenant_id (String) The tenant id.

Optional

  • name (String) The tenant name.
  • secret_configuration (Map of String) The secret configuration.
  • secret_type (String) The secret type.
  • storage_configuration (Map of String) The storage configuration.
  • storage_type (String) The storage type.
  • worker_group (Block List, Max: 1) The worker group. (see below for nested schema)

Read-Only

  • id (String) The ID of this resource.

Nested Schema for worker_group

Required:

  • fallback (String) The fallback strategy.
  • key (String) The worker group key.

Import

Import is supported using the following syntax:

shell
terraform import kestra_tenant.example {{tenant_id}}

Was this page helpful?