Skip to content
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

Improve snowflake_stages (Data Source) to detect external/internal stages #1544

Open
TerjeRusska opened this issue Feb 17, 2023 · 1 comment
Labels
category:data_source data_source:stages Issue connected to the snowflake_stages data source feature-request Used to mark issues with provider's missing functionalities

Comments

@TerjeRusska
Copy link

Is your feature request related to a problem? Please describe.
Previous issue that relates to the request: #772

It is not possible combine snowflake_stage_grant (Resource) with snowflake_stages (Data Source) by looping through the resources since USAGE only applies to external stages, READ | WRITE only applies to internal stages.

https://docs.snowflake.com/en/sql-reference/sql/grant-privilege#usage-notes

Describe the solution you'd like

Add the following attributes to the nested schema for stages in snowflake_stages (Data Source):

  • type

show stages in account;

Describe alternatives you've considered

Currently have to manually split the stages

Additional context

@TerjeRusska TerjeRusska added the feature-request Used to mark issues with provider's missing functionalities label Feb 17, 2023
@sfc-gh-swinkler
Copy link
Collaborator

Yes this makes sense, and I agree we should do this. Could you please file a support ticket with your Snowflake account representative on this issue? It helps a lot in getting prioritization for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:data_source data_source:stages Issue connected to the snowflake_stages data source feature-request Used to mark issues with provider's missing functionalities
Projects
None yet
Development

No branches or pull requests

3 participants