-
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
BigQuery dataset access order is still not being ignored #3929
Comments
Looks like this is happening at the TF core level, filed hashicorp/terraform#21901 |
Re-triage to see if this is workable. I don't believe it to be. |
Received recent updates in hashicorp/terraform#21901 that this will require a major migration in the provider platform from SDK to Plugin. Would it be possible to introduce some shared util for all Google providers to use for diff suppression in the meantime? If so it'd make sense to create a separate issue to track that. |
The root cause here is that Terraform is failing to associate the old and new values with each other properly because the hash of entries in the set (used for diff comparisons for sets) is different between null and empty ("") strings. We would need to propose the empty string as the new value for all the subfields of Both approaches are probably resource-specific rather than general. Normal diff suppression wouldn't work well because the entries aren't associating with each other properly. |
Thank you. We will experiment with these suggestions fo resource-specific diff suppression. |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
When you add a new role it should only show this newly created access role in the changes.
Actual Behavior
Apparently the order of the access roles seem to matter. It shows the deletion of the previously existing roles and the addition of these roles again. It also includes the new role, but on datasets which have more than 5 access permissions it's very hard to review changes.
The text was updated successfully, but these errors were encountered: