Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to confluent_group_mapping filter forces replacement #468

Open
S1M0NM opened this issue Oct 22, 2024 · 1 comment
Open

Update to confluent_group_mapping filter forces replacement #468

S1M0NM opened this issue Oct 22, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@S1M0NM
Copy link

S1M0NM commented Oct 22, 2024

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.

  # 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.

@cryoshida
Copy link
Member

Hi @S1M0NM ! Thank you for reporting this issue. We have filed an internal ticket to patch this capability.

@sajjadlateef sajjadlateef added the good first issue Good for newcomers label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants