Skip to main content

assignable_roles

Operations on a assignable_roles resource.

Overview

Nameassignable_roles
TypeResource
Iddatabricks_account.iam.assignable_roles

Fields

NameDatatype
namestring

Methods

NameAccessible byRequired ParamsDescription
getassignablerolesforresourceSELECTaccount_id, resourceGets 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_account.iam.assignable_roles
WHERE account_id = '{{ account_id }}' AND
resource = '{{ resource }}';