You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# snowflake_database_grant.database_grants["ANALYTICS2"] will be created
+ resource "snowflake_database_grant" "database_grants" {
+ database_name = "ANALYTICS"
+ id = (known after apply)
+ privilege = "USAGE"
+ roles = [
+ "RL_ANALYST",
+ "RL_BI",
+ "RL_LOADER",
]
+ with_grant_option = true
}
Hope someone could help me understand what I'm doing wrong as I'm having the same problem when granting the warehouse different role based privileges and using the same template as above.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm trying to grant multiple roles privileges to one database but each time I check the plan the last privilege overwrites the first privilege.
Below is an example of the code I'm running
The output I get when planning is the following
Hope someone could help me understand what I'm doing wrong as I'm having the same problem when granting the warehouse different role based privileges and using the same template as above.
Beta Was this translation helpful? Give feedback.
All reactions