kestra_role (Data Source)

Use this data source to access information about an existing Kestra Role.

Example Usage

hcl
data "kestra_role" "example" {
  role_id = "3kcvnr27ZcdHXD2AUvIe7z"
}

Schema

Required

  • role_id (String) The role.

Optional

  • namespace (String) The linked namespace.
  • is_default (Boolean) The role is the default one at user creation. Only one role can be default. Latest create/update to true will be keep as default.

Read-Only

  • description (String) The role description.
  • id (String) The ID of this resource.
  • name (String) The role name.
  • permissions (Set of Object) The role permissions. (see below for nested schema)
  • tenant_id (String) The tenant id.

Nested Schema for permissions

Read-Only:

  • permissions (List of String)
  • type (String)