You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use snowflake_stages as a data source and (for_each) loop over the stages and set the privileges. The problem is that external and internal stages are returned and the same privileges cannot be applied to both types of stages. For example external stages can only have USAGE granted on them and internal stages can only have READ or WRITE granted. In this scenario it's impossible to apply the grant because there is no way of knowing what type of stage it is.
To be honest, I'm not sure why internal and external stages are not their own separate resource. Internal and external stages are fundamentally very different from each other. Just my 2 cents....
The text was updated successfully, but these errors were encountered:
We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket.
Provider Version
v0.25.25
Terraform Version
1.0.10
Describe the bug
I would like to use snowflake_stages as a data source and (for_each) loop over the stages and set the privileges. The problem is that external and internal stages are returned and the same privileges cannot be applied to both types of stages. For example external stages can only have USAGE granted on them and internal stages can only have READ or WRITE granted. In this scenario it's impossible to apply the grant because there is no way of knowing what type of stage it is.
To be honest, I'm not sure why internal and external stages are not their own separate resource. Internal and external stages are fundamentally very different from each other. Just my 2 cents....
The text was updated successfully, but these errors were encountered: