Skip to content

Whats the new import statement for role_grants? #3179

Answered by jayjay-ayjay
jayjay-ayjay asked this question in Q&A
Discussion options

You must be logged in to vote

Info for other readers:
sfc-gh-asawicki and I solved it as follows:
terraform import module.my_snowflake_module["MY_PARENT_ROLE"].snowflake_grant_account_role.role_grants["MY_CHILD_ROLE"] '"MY_CHILD_ROLE"|ROLE|"MY_PARENT_ROLE"'

My role functionality is inside a module. Otherwise the default statement should be used though.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@jayjay-ayjay
Comment options

@sfc-gh-asawicki
Comment options

@sfc-gh-asawicki
Comment options

@jayjay-ayjay
Comment options

Answer selected by jayjay-ayjay
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