Hi @Adrian Wyssโ ,
to create SP with `account admin` role, please use the following:
resource "databricks_service_principal" "this" {
provider = databricks.mws
display_name = "some-name"
}
# assign account_admin role
resource "databricks_service_principal_role" "this" {
provider = databricks.mws
service_principal_id = databricks_service_principal.this.id
role = "account_admin"
}
thanks,
Pat.