Skip to main content

assignable_roles

Operations on a assignable_roles resource.

Overview

Nameassignable_roles
TypeResource
Iddatabricks_workspace.iam.assignable_roles

Fields

NameDatatype
namestring

Methods

NameAccessible byRequired ParamsDescription
getassignablerolesforresourceSELECTresource, deployment_nameGets all the roles that can be granted on an account-level resource. A role is grantable if the rule set on the resource can contain an access rule of the role.

SELECT examples

SELECT
name
FROM databricks_workspace.iam.assignable_roles
WHERE resource = '{{ resource }}' AND
deployment_name = '{{ deployment_name }}';