-
Notifications
You must be signed in to change notification settings - Fork 59
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
Error while creating users #304
Comments
Fighting with that since yesterday. From debug output I can add:
Another workaround is to:
But it shouldn't be done like this. |
@kwasz-sysdogs with my approach you the user get fixed and after that you can re-run
|
Same problem here, workaround is indeed deleting and re importing the users. But its really breaking our workflow! Any ideas on how this is happening? |
This is a duplicated of #286 where a fix is being discussed 👍 |
Closing as duplicate of #286 |
This issue started happening from the 20th April 2022. Before this error never occurred and the code I use did not changed.
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.Note: the plans are executed on terraform cloud with the same version.
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
Create the user and detect its creation.
Actual Behavior
Creates the user and return the following error:
At this point the resource is marked as tainted and any subsequent re-run will fail.
With
Error: googleapi: Error 409: Entity already exists., duplicate
, this is because the user is actually created.The only workaround is to remove the resource from the state and import it back manually:
The account ID can be found in the state before removing the resource.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
The text was updated successfully, but these errors were encountered: