Reputation: 79
I am trying to find what is the difference between the two terraform modules, google_bigquery_dataset_access and google_bigquery_dataset_iam, and I cannot seem to find clear information or maybe I am looking at it wrong. Both would give permissions on a dataset.
Could someone shed some light? Thanks!
Upvotes: 1
Views: 909
Reputation: 75810
With the both you can set roles on Dataset for users. But
google_bigquery_dataset_access
you can define/grant authorized viewgoogle_bigquery_dataset_iam
, you can define IAM and bindings in an idiomatic way and a more modern wayIMO, access
is the legs of the BigQuery legacy version. If you can avoid to use it for IAM bindings, only for authorized view, it's better!
Upvotes: 1