google_bigquery_dataset_iam_policy
Retrieves the current IAM policy data for a BigQuery dataset.
data "google_bigquery_dataset_iam_policy" "policy" {
dataset_id = google_bigquery_dataset.dataset.dataset_id
}
The following arguments are supported:
dataset_id
- (Required) The dataset ID.
project
- (Optional) The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
The attributes are exported:
etag
- (Computed) The etag of the IAM policy.
policy_data
- (Computed) The policy data