databricks_group_member objects do not detect configuration drift such as additional users being added to the group outside of IAC which would be very useful to have in the style of databricks_grants.
Proposal
Create a databricks_group_members resource that takes a group id, and n amount of member blocks.
resource "databricks_group_members" "self" {
group_id = data.databricks_group.x.id
member {
id = data.databricks_user.user1.id
}
member {
id = data.databricks_user.user2.id
}
}
Use-cases
databricks_group_member objects do not detect configuration drift such as additional users being added to the group outside of IAC which would be very useful to have in the style of databricks_grants.
Proposal
Create a
databricks_group_members
resource that takes a group id, andn
amount ofmember
blocks.Or perhaps more realistically
group_id
is a required field. It should be possible to have 0member
blocks in order to remove all members from the specified group.