kestra_role
kestra_role (Resource)
Manages a Kestra Role.
Example Usage
hcl
resource "kestra_role" "example" {
namespace = "company.team"
name = "Friendly name"
description = "Friendly description"
permissions {
type = "FLOW"
permissions = ["READ", "UPDATE"]
}
permissions {
type = "TEMPLATE"
permissions = ["READ", "UPDATE"]
}
}
Schema
Required
name
(String) The role name.
Optional
description
(String) The role description.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:
shell
terraform import kestra_role.example {{role_id}}
Was this page helpful?