-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 is getting removed and added whenever something is deployed #7755
Comments
@Dhanabalan-pop config seems right, you shouldn't see any perma diffs. I don't see it happening on my end. Can you please share your plan output and include the terraform version you are using ? P.S. - In future please follow the template while raising the issue as It helps us to narrow down the problematic area. |
Terraform will perform the following actions: module.bigquery_test_dataset_module.google_bigquery_dataset.bq_dataset will be updated in-place~ resource "google_bigquery_dataset" "bq_dataset" {
I'm using Gitlab CI[Gitlab runner with docker terraform image] with terraform version is 0.13.5 and google provider version is google v3.47.0 |
The diff you posted says that terraform identified a change in your config that legacy format is replaced with We have a note for this in our doc
|
+1. I have specified the legacy format :(
|
* Configuration for traffic director Mesh resource. * Add more tests for Mesh resource * Use new provider for test * Configuration for service binding. * Add hand written test for service binding. * Revert "Add hand written test for service binding." This reverts commit 367449af370e7e09509cba20d24ed2c152251072. * Update service binding yaml. * reduce timeouts. * Update mmv1/products/networkservices/ServiceBinding.yaml Co-authored-by: Sam Levenick <[email protected]> * Service binding update test. * Fix compile error. * Add configuration for Tls route. * Remove extra files. * Address PR comments. * Fix failing tests. --------- Co-authored-by: Madhura Phadnis <[email protected]> Co-authored-by: Sam Levenick <[email protected]> Signed-off-by: Modular Magician <[email protected]>
* Configuration for traffic director Mesh resource. * Add more tests for Mesh resource * Use new provider for test * Configuration for service binding. * Add hand written test for service binding. * Revert "Add hand written test for service binding." This reverts commit 367449af370e7e09509cba20d24ed2c152251072. * Update service binding yaml. * reduce timeouts. * Update mmv1/products/networkservices/ServiceBinding.yaml * Service binding update test. * Fix compile error. * Add configuration for Tls route. * Remove extra files. * Address PR comments. * Fix failing tests. --------- Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Madhura Phadnis <[email protected]> Co-authored-by: Sam Levenick <[email protected]>
I can't repro the issue when I specify the legacy
If anyone else still sees the problem, could you share a sample config? |
@ScottSuarez I believe this issue is obsolete. Can we close it? |
No problem we can close. Thanks for your help here 🙏🏻 |
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. |
Affected Resource(s)
resource "google_bigquery_dataset" "bq_dataset" {
project = var.project_name
dataset_id = var.dataset-id
location = var.location
access {
role = "READER"
group_by_email = var.hr_group_email
}
access {
role = "roles/bigquery.user"
group_by_email = var.hr_group_email
}
access {
role = "WRITER"
special_group = "projectWriters"
}
access {
role = "OWNER"
special_group = "projectOwners"
}
access {
role = "READER"
special_group = "projectReaders"
}
Above is my code, everytime when i deploy, access is getting remove and re-added...what is the issue? Do i need to update anything here in code?
b/301412445
The text was updated successfully, but these errors were encountered: