- 
                Notifications
    You must be signed in to change notification settings 
- Fork 286
feat(bigquery): Add example for creating a tag key #726
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
feat(bigquery): Add example for creating a tag key #726
Conversation
| Here is the summary of changes. You are about to add 1 region tag.
 This comment is generated by snippet-bot. 
 | 
|  | ||
| # [START bigquery_tags_tag_key] | ||
| resource "google_tags_tag_key" "env_tag_key" { | ||
| parent = "projects/myproject1-381000" | 
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.
Can we reference project like this instead:
| parent = "projects/${data.google_project.default.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.
Done! Thanks!
| /gcbrun | 
| /gcbrun | 
Description
Fixes #353964666
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 applyterraform fmtcheckIntended location
Yes, this sample will be (or already is) included on cloud.google.com
Location(s): https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#creating_tag
No, this sample won't be included on cloud.google.com
Reason:
API enablement
Review