Kestra Terraform Provider – Manage Roles
Terraform Resource: kestra_role
Manages a Kestra Role.
This resource is only available on the Enterprise Edition
Example usage
resource "kestra_role" "example" { name = "Friendly name" description = "Friendly description"
permissions { type = "FLOW" permissions = ["READ", "UPDATE"] }
permissions { type = "EXECUTION" permissions = ["READ", "UPDATE"] }}Schema
Required
name(String) The role name.
Optional
description(String) The role description.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.namespace(String) The linked namespace.permissions(Block Set) The role permissions. (see below for nested schema)
Read-Only
id(String) The ID of this resource.tenant_id(String) The tenant id.
Nested schema for permissions
Required:
permissions(List of String) The permissions for this type.type(String) The type of permission.
Import
Import is supported using the following syntax:
terraform import kestra_role.example {{role_id}}Was this page helpful?