Closed b-pison closed 2 years ago
@bruno-pison have you opened an issue in the provider repo (https://github.com/hashicorp/terraform-provider-google)? It looks like additional logic needs to be implemented for the google_cloud_identity_group_membership
resource to handle this error when refreshing the terraform states.
Hello @xingao267 , I've not.
Right now, I'm trying to migrate from terraform-google-group
to google_cloud_identity_group_membership
and will check how it work there.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
TL;DR
Org with accounts, groups, etc, managed through Terraform (
terraform apply
working fine)An user had his account removed from the organization (through Admin panel). This user was in a group managed through Terraform, using this module.
Terraform fails with:
Expected behavior
Terraform (and this module) identify the missing resource and offer to recreate or remove from the state file.
Observed behavior
Terraform fails and blocks the module usage.
Terraform Configuration
Terraform Version
Additional information
No response