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
When using snowflake_database_grant with privilege = "USAGE", a list of roles and a share, terraform destroys and recreates the grant every time despite the roles and share not changing.
Code
(Showing a relevant stripped down subset from my project, let me know if you need a true minimal reproducible example)
Checking snowflake, both the share and the grant are successfully created, but it seems that terraform thinks the share is missing from the grant every time it runs.
The text was updated successfully, but these errors were encountered:
An implication of this issue is that we can use the provider to set up grants to shares, but can't revoke them. It's like the share is invisible when it attempts show grants on x to compute the diff. Schema grants are also affected.
When using
snowflake_database_grant
withprivilege = "USAGE"
, a list ofroles
and ashare
, terraform destroys and recreates the grant every time despite the roles and share not changing.Code
(Showing a relevant stripped down subset from my project, let me know if you need a true minimal reproducible example)
Always results in this plan:
Checking snowflake, both the share and the grant are successfully created, but it seems that terraform thinks the share is missing from the grant every time it runs.
The text was updated successfully, but these errors were encountered: