-
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
[Bug]: snowflake_tag_association failed to associate tag to schema #3235
Comments
Hi @harukitake 👋 Please use uppercase type |
Hi @sfc-gh-jmichalak . |
Could you provide provider logs with |
Log
|
I can't reproduce the issue for |
@sfc-gh-jmichalak
|
I will try the following step.
|
I fixed |
<!-- Feel free to delete comments as you fill this in --> - rework `tag_association` resource - return `nil` from GetTag instead of failing - add more tests regarding tag/masking policy: assert that `ALTER MASKING POLICY SET TAG` differs from `ALTER TAG SET MASKING POLICY` - support tagging account for identifiers with org name - support `IF EXISTS` for unsetting tags - add notes about manually unassigning policies from objects, add a todo with an issue number - fix a wrong issue number in essential objects list <!-- summary of changes --> ## Test Plan <!-- detail ways in which this PR has been tested or needs to be tested --> * [x] acceptance tests <!-- add more below if you think they are relevant --> * [ ] … ## References <!-- issues documentation links, etc --> https://docs.snowflake.com/en/user-guide/object-tagging https://docs.snowflake.com/en/sql-reference/functions/system_get_tag #3145 #1910 #2943 #3235 ## TODO - use generated config and asserts, remove old test `tf` files ## Ideas - extract a separate resource for tagging accounts?
Hi @harukitake 👋 We've just released v0.100.0 (release, migration guide) in which we support lowercase object types. Please upgrade to this version and let us know if you have any issues. |
@sfc-gh-jmichalak |
Great! Closing then. |
Terraform CLI Version
1.9.5
Terraform Provider Version
0.99.0
Company Name
No response
Terraform Configuration
Category
category:resource
Object type(s)
No response
Expected Behavior
successful plan and apply
Actual Behavior
Error: tagging for object type schema is not supported
Steps to Reproduce
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: