-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(bigquery): update object table docs #494
chore(bigquery): update object table docs #494
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the Google Cloud resource names to main
See cloud.google.com/docs/terraform/best-practices-for-terraform
@nevzheng - friendly reminder! |
I'm waiting for input from adhiggs@ |
Thank you for your patience. I'll get to this item this week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If possible, we should adjust some of the items that are currently comment-locked. Thank you for your patience.
137d6ea
to
32cc5d9
Compare
@adhiggs We can certainly do so. Let me know what the changes should be. line number + change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Only update are here and CICD tests passed.
*/ | ||
|
||
# [START bigquery_create_object_table] | ||
|
||
# This queries the provider for project information. | ||
data "google_project" "main" {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data "google_project" "main" {} | |
data "google_project" "default" {} |
resource "google_project_iam_member" "default" { | ||
role = "roles/storage.objectViewer" | ||
project = data.google_project.project.project_id | ||
project = data.google_project.main.project_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
project = data.google_project.main.project_id | |
project = data.google_project.default.project_id |
Almost there. As suggested by other reviewer, please check an update the resource name. Added code suggestions for the same. |
* update: object table docs * update: fix comment, resource name * update: integrate reviewer feedback * update: integrate reviewer input --------- Co-authored-by: Roger Martinez <[email protected]> Co-authored-by: Sampath Kumar <[email protected]>
Description
Fixes #
Note: If you are not associated with Google, open an issue for discussion before submitting a pull request.
Checklist
Readiness
Style
guide
Testing
I have performed tests described in the Contributing guide:
terraform apply
terraform fmt
checkIntended location
Yes, this sample will be (or already is) included on cloud.google.com
Location(s): https://cloud.google.com/bigquery/docs/object-tables#create-object-table
No, this sample won't be included on cloud.google.com
Reason:
API enablement
Review