-
Notifications
You must be signed in to change notification settings - Fork 427
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: adding in tag support #713
Conversation
@alldoami As this is my first contribution, I wanted to open this draft up a little early to make sure I'm not going down the wrong path. I'm going to continue on with adding tag support for various other object types, and possibly in a more generic way (at least for update / drop). My plan is to support tagging on the account, database, and schema level objects, with column support to likely follow in a separate PR. |
… reference schema
make sure to run |
Running make docs now lol... also I think I added support for tags on all objects supporting them just gotta double check the docs... |
/ok-to-test sha=7a09873 |
Thanks for being so thorough with testing! 🥳 |
Theres room for more testing on some of the resources... but I know this is a hot issue with some folks... |
Integration tests failure for 7a09873 |
Co-authored-by: Allison Doami <[email protected]>
Co-authored-by: Allison Doami <[email protected]>
/ok-to-test sha=4a8dc58 |
Integration tests failure for 4a8dc58 |
I'll rerun these against my account when I get back to my machine.
…On Wed, 20 Oct 2021, 5:30 pm github-actions[bot], ***@***.***> wrote:
Integration tests failure for 4a8dc58
<https://github.com/chanzuckerberg/terraform-provider-snowflake/actions/runs/1365393654>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#713 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5HS4YSZFGO6E3SU5DFJCDUH4YGPANCNFSM5FUHEB4A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Just request my review again once you've committed these changes 😄 |
Co-authored-by: Allison Doami <[email protected]>
/ok-to-test sha=41ee8bc |
Integration tests success for 41ee8bc |
Thank you @alldoami ! |
This PR is the beginning of adding in support for object_tags (https://docs.snowflake.com/en/user-guide/object-tagging.html).
It introduces the snowflake_tag resource which is used to define tags that can then be assigned to other objects within snowflake.
An example of declaring 2 tags, and assigning values for those tags on a table is:
Test Plan
So far tests have been added to both the tag logic in snowflake and resources.
References
Addresses issue #702