-
Notifications
You must be signed in to change notification settings - Fork 426
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]: Provider crashes when creating a view with a masking policy #3219
Comments
Hi @algrice 👋 We've released fixes for |
Hi! Thanks for the suggestion. Unfortunately we haven't been able to test anything greater than v0.96 because we're blocked on this issue #3136 We can continue working around by creating views with a |
Hi! We've been able to upgrade to v0.99 and can confirm we can now create views with masking policies using the snowflake_view resource. 😃 One minor bug we're seeing on v0.99: if we don't pass a That's not at all a blocker for us though. Thanks! |
Hi @algrice 👋 We've just released v0.100.0 (release, migration guide) with the fix. Please upgrade to this version and let us know if you have any issues, preferably in a new issue. |
Terraform CLI Version
1.9.3
Terraform Provider Version
0.96.0
Company Name
No response
Terraform Configuration
Category
category:resource
Object type(s)
resource:view
Expected Behavior
I expected the view to get created successfully and have the masking policy applied to the column with no errors.
Actual Behavior
The view did get created successfully in Snowflake, but the terraform provider crashed immediately afterwards.
Steps to Reproduce
Copy the terraform from above after replacing the database / schema / query and policy reference with real resources. Run terraform apply.
How much impact is this issue causing?
Medium
Logs
https://gist.github.com/algrice/da65a8bd4f5ce5bc120609c006650241
Additional Information
No response
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: