continueops_rbac_role (Data Source)
Looks up a runbook access role by key: one of the built-in roles (runbook_viewer, runbook_runner, runbook_editor, runbook_manager), whose ids differ between environments, or a custom role managed elsewhere. Use its id as a continueops_rbac_binding's role_id.
Example Usage
# Built-in role ids differ between environments: look them up by key.
data "continueops_rbac_role" "viewer" {
key = "runbook_viewer"
}Schema
Required
key(String) The role's key (exact match).
Read-Only
built_in(Boolean) Whether it is a built-in role (cannot be changed).description(String) Free-text description; null if none.id(String) Role id (UUID).name(String) Display name.permissions(Set of String) What the role allows:view,run,edit,delete.tenant_id(String) Id of the tenant that owns it; null for a built-in role.
