databricks/terraform-provider-databricks

[FEATURE] Add resource for authoritative group membership

Opened this issue · 0 comments

Use-cases

@grusin-db raised this request, which is a good suggestion

Currently databricks_group_member only manages membership of single group/sp/user, but other membership changes out of bound cannot be overruled in TF.

Therefore, we should add another resource that define authoritative group membership, similar to google_service_account_iam_binding

Proposal

This resource could be called databricks_group_membership, and will enforce membership for a group

resource "databricks_group_membership" "authoritative" {
  group_id  = databricks_group.b.id
  members = [<list of ids>
  ]  
}