I wanted to update the filter value for a confluent_group_mapping because a group that is to be evaluated during SSO has changed. This is easily possible via the Confluent Cloud UI without the group changing and receiving a new group ID.
However, using Terraform I get the result in the plan that the resource has to be recreated due to the change in the filter.
# confluent_group_mapping.group_mapping["Unclassified"] must be replaced
-/+ resource "confluent_group_mapping" "group_mapping" {
~ filter = "\"Old-Group-Name\" in groups" -> "\"New-Group-Name\" in groups" # forces replacement
~ id = "group-EMBR" -> (known after apply)
# (1 unchanged attribute hidden)
}
The recreate would cause problems because all role bindings for this group would have to be recreated.
Terraform Provider Version: 2.1.0 Terraform Version: 1.8.5 & 1.9.5
I wanted to update the filter value for a
confluent_group_mapping
because a group that is to be evaluated during SSO has changed. This is easily possible via the Confluent Cloud UI without the group changing and receiving a new group ID.However, using Terraform I get the result in the plan that the resource has to be recreated due to the change in the filter.
The recreate would cause problems because all role bindings for this group would have to be recreated.