-
Notifications
You must be signed in to change notification settings - Fork 427
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
feat: Delete ownership grant updates #1334
feat: Delete ownership grant updates #1334
Conversation
This PR adds an attribute, revert_ownership_to, to both the user_ownership_grant and role_ownership_grant resources to transfer ownership to the provided role instead of defaulting to ACCOUNTADMIN. This fixes an issue we were facing in which we could not run terraform destroy successfully due to DROP ROLE statements failing on snowflake_role resources after their respective snowflake_role_ownership resources were deleted. |
/ok-to-test sha=d03a4ea |
Integration tests success for d03a4ea |
@cinglish can you please run |
@cinglish thank you for your contribution! |
Test Plan
References