terraform-provider-google
terraform-provider-google copied to clipboard
google_bigquery_dataset_access disappears after editing google_bigquery_dataset_iam_*
Hello,
I want to discuss the issue #10156 that has been locked.
I have had exactly the same problem and it has been tedious to find the culprit since the Terraform config is maintained by different people in the Team. I was not aware that google_bigquery_dataset_iam_* would delete all the access created by google_bigquery_dataset_access. Indeed, there is a warning on the official documentation page but maybe it's worth considering to integrate that warning in terraform code, while deploying google_bigquery_dataset_iam_* ?
Because, having a resource (dataset_iam) deleting another resource (dataset_access) without any warning on the CLI is not what people would expect as behaviour ?
b/321924266