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

fix: added force_new option to role grant when the role_name has been changed #1591

Merged

Conversation

Relativity74205
Copy link
Contributor

  • role_grants resource is now recreated if the role_name is changed
  • when refreshing the resource, the code checks now first, if the grantee role still exists (in case it was manually deleted in snowflake)

Test Plan

  • unit tests
  • manuel tests
  • acceptance tests of role_grants module

References

Issue is described in #1590

@Relativity74205 Relativity74205 changed the title Fix role grants fix: added force_new option to role grant when the role_name has been changed Mar 1, 2023
@sfc-gh-swinkler sfc-gh-swinkler merged commit 4ec3613 into Snowflake-Labs:main Mar 2, 2023
@sfc-gh-swinkler
Copy link
Collaborator

looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants