hashicorp / terraform-provider-googleworkspace

Terraform Provider for Google Workspace
https://registry.terraform.io/providers/hashicorp/googleworkspace
Mozilla Public License 2.0
129 stars 56 forks source link

feat: import group members that already exists #473

Open Filirom1 opened 6 months ago

Filirom1 commented 6 months ago

Hi,

I’ve noticed that in the group_member resource, the DeviaVir/terraform-provider-gsuite previously managed the 409 "Member already exists" error as shown in the code from lines 96 to 124:

https://github.com/DeviaVir/terraform-provider-gsuite/blob/master/gsuite/resource_group_member.go#L96-L124

Unfortunately, the successor hashicorp/terraform-provider-googleworkspace has not incorporated this error handling capability. To address this omission, I have submitted a Merge Request to include this feature in the new provider.

Best regards, Romain

SamuZad commented 3 months ago

This is really cool!

As it appears that this provider is not being maintained, would you mind if I adopted this into my fork?

Reference issue: https://github.com/hashicorp/terraform-provider-googleworkspace/issues/464