-
Notifications
You must be signed in to change notification settings - Fork 428
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]: Can only use one of database, schema, or account in snowflake_views in clause #3203
Comments
Hey @mpayne-coveo. Thanks for reaching out to us. You have to use a fully qualified name as stated in the docs: https://registry.terraform.io/providers/Snowflake-Labs/snowflake/0.97.0/docs/data-sources/views#nested-schema-for-in. We will add it to the examples. So in your case, it should be:
If you provision the schema in the same tf deployment, you can use |
Great, thank you! Yes please, adding it as an example in the docs would be helpful here. |
Run pre-push Add timeouts to snowflake_execute References: #3334 Add example to views data source documentation References: #3203 Add resource monitors to grant ownership References: #3318 Remove vacation notice from README Extract okta URL to test vars Add test showing tabs behavior for multiline References: #3307
Run pre-push Add timeouts to snowflake_execute References: #3334 Add example to views data source documentation References: #3203 Add resource monitors to grant ownership References: #3318 Remove vacation notice from README Extract okta URL to test vars Add test showing tabs behavior for multiline References: #3307
Fixes: - add missing resource monitor as valid option to `snowflake_grant_ownership` (references: [#3318](#3318)) - clarify docs for `snowflake_views` (references: [#3203](#3203)) - add timeouts to `snowflake_execute` (references: [#3334](#3334)) Misc (mostly regarding acceptance tests): - remove vacations notice from readme - document current behavior of multiline attributes in cofig generators when there is whitespace (like `\t`); result of #3307 (comment) - extract okta url to test data
Fixes: - add missing resource monitor as valid option to `snowflake_grant_ownership` (references: [#3318](#3318)) - clarify docs for `snowflake_views` (references: [#3203](#3203)) - add timeouts to `snowflake_execute` (references: [#3334](#3334)) Misc (mostly regarding acceptance tests): - remove vacations notice from readme - document current behavior of multiline attributes in cofig generators when there is whitespace (like `\t`); result of #3307 (comment) - extract okta url to test data
Fixes: - add missing resource monitor as valid option to `snowflake_grant_ownership` (references: [#3318](#3318)) - clarify docs for `snowflake_views` (references: [#3203](#3203)) - add timeouts to `snowflake_execute` (references: [#3334](#3334)) Misc (mostly regarding acceptance tests): - remove vacations notice from readme - document current behavior of multiline attributes in cofig generators when there is whitespace (like `\t`); result of #3307 (comment) - extract okta url to test data
Terraform CLI Version
1.9.8
Terraform Provider Version
0.97.0
Company Name
Coveo
Terraform Configuration
Category
category:data_source
Object type(s)
No response
Expected Behavior
All views under that schema/database to be returned
Actual Behavior
Steps to Reproduce
Run terraform plan with the above configuration
How much impact is this issue causing?
Low
Logs
No response
Additional Information
We're in the middle of migrating our Snowflake Terraform provider from
0.93.0
to0.97.0
. In0.93.0
, we were able to specify something like this to return all views under a schema/database-According to the migration guide, the behaviour should have been maintained by using the
in
clause instead. However, when we run a terraform plan, we get the following error-How would we be able to maintain the previous behaviour/state?
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: