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

snowflake_pipe_grant resource requires schema_name, but shouldn't #1219

Closed
will-regal-voice opened this issue Sep 19, 2022 · 2 comments
Closed
Labels
bug Used to mark issues with provider's incorrect behavior category:grants

Comments

@will-regal-voice
Copy link

Provider Version

0.40.0

Terraform Version

v1.0.10

Describe the bug

-provider docs state schema_name is required
-docs for on_future imply that it isn't required
-running terraform plan without specifying schema_name results in error The argument "schema_name" is required, but no definition was found.

Expected behavior

-Create a grant for future pipes in all schemas in the database

Code samples and commands

Please add code examples and commands that were run to cause the problem.

Additional context

Add any other context about the problem here.

@will-regal-voice will-regal-voice added the bug Used to mark issues with provider's incorrect behavior label Sep 19, 2022
@bennylu2
Copy link
Contributor

This can be closed

@sfc-gh-jcieslak
Copy link
Collaborator

Hey 👋
Closing the issue as it's referring to the deprecated resource and we're not supporting them. Please, try to use the latest provider version with the non-deprecated resources (e.g. snowflake_grant_privileges_to_account_role). If the issue persists on the non-deprecated resource (or the feature is present in Snowflake, but not in the provider), please create a new GitHub issue. The migration guide may help during migration to the latest resources. Here's a list of the latest, non-deprecated, grant resources:

Resources
snowflake_grant_privileges_to_database_role
snowflake_grant_privileges_to_account_role
snowflake_grant_account_role
snowflake_grant_database_role
snowflake_grant_application_role (coming soon)
snowflake_grant_privileges_to_share
snowflake_grant_ownership (coming soon)

Data sources
snowflake_grants

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 category:grants
Projects
None yet
Development

No branches or pull requests

3 participants