-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
google_bigquery_dataset_iam_member erroring out with 'Provider produced inconsistent result after apply" #17172
Comments
@mbohri-cslt thanks for reporting this issue but the provided info is not enough for me to investigate. Below info is a little bit vague and likely it is related to a way to build the system. Can you repro the issue? Are you able to put all in a simple config that I can repro? What version of provider do you use?
|
@mbohri-cslt is this still an issue? |
closing this as a dup of #16607 |
Reopenning, this seems like a separate issue that I'm also seeing in GoogleCloudPlatform/magic-modules#9948 |
@c2thorn Looks like the test issue in GoogleCloudPlatform/magic-modules#9948 was resolved. Since we don't have additional information from the reporter on whether this is still happening or examples to repro, is it good to be closed for now? |
Yes @wj-chen, either this user's case is not still happening or it will be fixed in GoogleCloudPlatform/magic-modules#9948 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
to expedite investigation and resolution of this issue.
Terraform Version
1.0.6
Affected Resource(s)
google_bigquery_dataset_iam_member
Terraform Configuration
Debug Output
Step #4 - "tf apply": │ Error: Provider produced inconsistent result after apply
Step #4 - "tf apply": │
Step #4 - "tf apply": │ When applying changes to
Step #4 - "tf apply": │ google_bigquery_dataset_iam_member.reference_tic_editor, provider
Step #4 - "tf apply": │ "provider["registry.terraform.io/hashicorp/google"]" produced an
Step #4 - "tf apply": │ unexpected new value: Root resource was present, but now absent.
Step #4 - "tf apply": │
Step #4 - "tf apply": │ This is a bug in the provider, which should be reported in the provider's
Step #4 - "tf apply": │ own issue tracker.
Expected Behavior
TF apply should pass and resources should be created
Actual Behavior
Randomly terraform destroys the google_bigquery_dataset_iam_member resource and recreates ( without the resource being updated). The following error is being logged
TF Apply fails with error during this process and TF state gets updated incorrectly and causes errors when the TF apply is executed next time.
Sample error seen during the subsequent TF apply
please note: the google_bigquery_dataset_iam_member resource name that errors in teh first run is not associated with the dataset that has duplicate error.
Steps to reproduce
The following resources are available under the same Terraform project.
Run Terraform apply multiple times
Important Factoids
No response
References
No response
b/325436168
The text was updated successfully, but these errors were encountered: