Improve snowflake_stages (Data Source) to detect external/internal stages #1544
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
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):
show stages in account;
Describe alternatives you've considered
Currently have to manually split the stages
Additional context
The text was updated successfully, but these errors were encountered: