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

Grants fail on stages when they are mixed as internal and external #772

Closed
Bryan-Meier opened this issue Nov 29, 2021 · 3 comments
Closed
Labels
bug Used to mark issues with provider's incorrect behavior

Comments

@Bryan-Meier
Copy link

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....

@Bryan-Meier Bryan-Meier added the bug Used to mark issues with provider's incorrect behavior label Nov 29, 2021
@alldoami
Copy link
Contributor

Could you combine this with the feature request you just opened? It is repetitive.

@Bryan-Meier
Copy link
Author

Hi @alldoami, I closed the feature request. I couldn't decide if this would be considered a bug or a feature request.

@sfc-gh-asawicki
Copy link
Collaborator

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.

@sfc-gh-asawicki sfc-gh-asawicki closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to mark issues with provider's incorrect behavior
Projects
None yet
Development

No branches or pull requests

3 participants