Skip to content

snowflake_grant_privileges_to_account_role - revokes #3087

Closed Answered by sfc-gh-jcieslak
tabu69 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @tabu69 👋
Sorry, you waited so long. To answer both questions:

  1. No, but we plan to add this flag in the future. It will make privileges coming from the snowflake_grant_privileges_to_account_role the only privileges granted on the object; other privileges will be revoked. Right now, the snowflake_grant_privileges_to_account_role only cares about specified privileges and whether they're granted or not.
  2. Yes, there is a flag. As you can see here, the always_apply flag grants privileges on every terraform apply. Is that something you were looking for?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@tabu69
Comment options

@sfc-gh-jcieslak
Comment options

@tabu69
Comment options

Answer selected by sfc-gh-jcieslak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants