-
Notifications
You must be signed in to change notification settings - Fork 56
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
[Feature] Allow for Setting of IAM Tags #577
Comments
@anaghshineh! 👋🏻 ! I'll say right away that I've never before encountered IAM Tags on BigQuery, so please enlighten me if I'm off as I try to figure it out and how you'd like to see it applied to dbt. I hope I'm providing helpful context To me there are two questions to be answered: How does one go about setting IAM tags programmatically in BigQuery (without dbt)
After poking around the docs and got lost quickly. Help! Can IAM tags be applied to individual models, or only to a Dataset or Project?If there's a What should dbt UX look like?
|
also @anaghshineh I'd appreciate your insight on dbt-labs/dbt-external-tables#263 if you have a chance. |
Hey, I was also looking for this feature and stumbled upon this issue. To chip in on your question:
Regarding the dbt UX:
|
Hi everyone! I just wanted to +1 this feature and second everything @Junobijlard said in his comment, adding that it seems that today it is already GA and that it seems they have added the ability to add resource tags to datasets. Both great news! If it helps the case for prioritizing this enhancement, Resource Tags are the only way to apply conditions for "Deny Policies". In my case, I need to apply Deny Policies to protect sensitive data from organization-level grants which I don't have control over. Being able to attach Resource Tags to tables or datasets from dbt (i.e.: dbt_project.yml) would greatly simplify the whole process. Thank you! |
I'm eagerly looking for this feature so +1 too! |
At the end of 2024, there is REST API for adding resource tags (referred as IAM tags in this issue): https://cloud.google.com/bigquery/docs/tags#tag_datasets I could not find So my question is how can we implement this feature as dbt-UX style with rest api? Have not done this through rest api, so any idea/help would be appreciated! |
Hi @keunsoopark I've actually tried to dig deep on the Resource Manager API for this, and can't figure out how to specify the I've looked both into the Python Client and REST API with no luck. It seems to me that this method that @Junobijlard mentioned looks like the best approach at this time. |
Started fixing this first for dataset. Let's see how fast PR process is there :) |
Great to see googleapis/python-bigquery#2090 merged. What else needs to be done here to move this MR forward? |
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Serhii Dimchenko <[email protected]>
Is this your first time submitting a feature request?
Describe the feature
I'd love to be able to set IAM tags on generated datasets and tables via dbt YAML! Similar to how we can specify labels and policy tags. This would let us manage access to generated assets conditionally. In my opinion, this provides a more flexible and scalable approach to access management over how grants work.
Describe alternatives you've considered
No response
Who will this benefit?
This will benefit organizations who leverage or want to leverage tags for conditional access to resources in their cloud environments. This is a common approach for access management. It allows for more streamlined, consistent access patterns across different projects and environments.
Are you interested in contributing this feature?
Perhaps! I'd be interested to hear from you all re: what you think the difficulty level of this is.
Anything else?
No response
The text was updated successfully, but these errors were encountered: