Skip to content

Commit

Permalink
Fix TestAccBigQueryDatasetAccess_authorizedRoutine and add note about…
Browse files Browse the repository at this point in the history
  • Loading branch information
roaks3 authored and kubalaguna committed Feb 27, 2023
1 parent 916f911 commit 40cb13a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions mmv1/products/bigquery/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ objects:
~> **Note:** If this resource is used alongside a `google_bigquery_dataset` resource, the
dataset resource must either have no defined `access` blocks or a `lifecycle` block with
`ignore_changes = [access]` so they don't fight over which accesses should be on the dataset.
Additionally, both resource cannot be modified in the same apply.
references: !ruby/object:Api::Resource::ReferenceLinks
guides:
'Controlling access to datasets': 'https://cloud.google.com/bigquery/docs/dataset-access-controls'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ resource "google_bigquery_routine" "public" {
resource "google_bigquery_dataset" "private" {
dataset_id = "%{private_dataset}"
description = "This dataset is private"
}
resource "google_bigquery_dataset_access" "authorized_routine" {
Expand Down

0 comments on commit 40cb13a

Please sign in to comment.