Equivalent resource for snowflake_database_grant and snowflake_schema_grant with new snowflake_grant_privileges_to_role resource type #1951
Unanswered
toni-moreno
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I'm trying to migrate some
snowflake_database_grant
andsnowflake_schema_grant
resources to the newsnowflake_grant_privileges_to_role
resource type .The syntax and examples in documentation for the new resource is not clear ( to me) and I can't understand how to create them .
If I have this resources now for
snowflake_database_grant
It seems like with the new resource should be coded like follows .
I have also
snowflake_schema_grant
like thatfollowing the examples , It seems like with the new resource should be coded like follows with
on_schema
nested block instead ofon_account_object.object_type= "SCHEMA"
( equivalent toon_account_object.object_type= "DATABASE"
)could anybody tell me if this is the right way to migrate them?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions