Configuration
variable "principals" {
default = [
"groupA",
"groupB"
]
}
data "databricks_group" "group" {
provider = databricks.account
for_each = toset(var.principals)
display_name = each.value
}
output "test" {
value = data.databricks_group.group
}
Expected Behavior
the "child_groups" should match the real child groups, e.g. empty:
Changes to Outputs:
- test = {
- groupA = {
- acl_principal_id = "groups/groupA"
- allow_cluster_create = false
- allow_instance_pool_create = false
- child_groups = []
for v1.88.0, the child groups were correct.
Actual Behavior
Since v1.89.0, "child_groups" returns 7000+ in our case:
Changes to Outputs:
+ test = {
+ groupA = {
+ acl_principal_id = "groups/groupA"
+ allow_cluster_create = false
+ allow_instance_pool_create = false
+ child_groups = [
+ "149733170292722",
+ "150582989695714",
Most child group ids do not exist in our account
Terraform and provider versions
Terraform v1.5.7
provider registry.terraform.io/databricks/databricks v1.89.0
Is it a regression?
Yes. It worked on v1.88 and not working since v1.89
Would you like to implement a fix?
No
Configuration
Expected Behavior
the "child_groups" should match the real child groups, e.g. empty:
Changes to Outputs:
for v1.88.0, the child groups were correct.
Actual Behavior
Since v1.89.0, "child_groups" returns 7000+ in our case:
Changes to Outputs:
+ test = {
+ groupA = {
+ acl_principal_id = "groups/groupA"
+ allow_cluster_create = false
+ allow_instance_pool_create = false
+ child_groups = [
+ "149733170292722",
+ "150582989695714",
Most child group ids do not exist in our account
Terraform and provider versions
Terraform v1.5.7
provider registry.terraform.io/databricks/databricks v1.89.0
Is it a regression?
Yes. It worked on v1.88 and not working since v1.89
Would you like to implement a fix?
No