kestra_role Data Source: Read Roles via Terraform
For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append.mdto anykestra.io/docs/*URL for plain Markdown.
Terraform Data Source: kestra_role
Use this data source to access information about an existing Kestra Role.
This resource is only available on the Enterprise Edition
Example usage
data "kestra_role" "example" { role_id = "3kcvnr27ZcdHXD2AUvIe7z"}
data "kestra_role" "by_name" { name = "admin"}Schema
Optional
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. Defaults tofalse.name(String) The role name. Can be set instead ofrole_idto look up the role.namespace(String) The linked namespace.role_id(String) The role id. Exactly one ofrole_idornamemust be provided.
Read-Only
description(String) The role description.id(String) The ID of this resource.resources(Set of Object) The role resource permissions. (see below for nested schema)tenant_id(String) The tenant id.
Nested Schema for resources
Read-Only:
actions(List of String)type(String)
Was this page helpful?