Skip to content

Commit 46005b5

Browse files
Document BQ role behavior. (#4191) (#2678)
Signed-off-by: Modular Magician <[email protected]>
1 parent b54e39f commit 46005b5

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.changelog/4191.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

website/docs/r/bigquery_dataset.html.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ To get more information about Dataset, see:
3131
* How-to Guides
3232
* [Datasets Intro](https://cloud.google.com/bigquery/docs/datasets-intro)
3333

34+
~> **Warning:** You must specify the role field using the legacy format `OWNER` instead of `roles/bigquery.dataOwner`.
35+
The API does accept both formats but it will always return the legacy format which results in Terraform
36+
showing permanent diff on each plan and apply operation.
37+
3438
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
3539
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=bigquery_dataset_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
3640
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">

website/docs/r/bigquery_dataset_access.html.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ To get more information about DatasetAccess, see:
3737
* How-to Guides
3838
* [Controlling access to datasets](https://cloud.google.com/bigquery/docs/dataset-access-controls)
3939

40+
~> **Warning:** You must specify the role field using the legacy format `OWNER` instead of `roles/bigquery.dataOwner`.
41+
The API does accept both formats but it will always return the legacy format which results in Terraform
42+
showing permanent diff on each plan and apply operation.
43+
4044
## Example Usage - Bigquery Dataset Access Basic User
4145

4246

website/docs/r/bigquery_job.html.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ Jobs are actions that BigQuery runs on your behalf to load data, export data, qu
2626
Once a BigQuery job is created, it cannot be changed or deleted.
2727

2828

29+
To get more information about Job, see:
30+
31+
* [API documentation](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs)
32+
* How-to Guides
33+
* [BigQuery Jobs Intro](https://cloud.google.com/bigquery/docs/jobs-overview)
2934

3035
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
3136
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=bigquery_job_query&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">

0 commit comments

Comments
 (0)