-
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
Destroying snowflake_grant_privileges_to_role resources fails at apply time with validation error. #2068
Comments
I'm facing the same problem with Terraform v1.6.0 and snowflake provider v0.72.0. Trying to delete the following resource:
Will return a:
|
I report identical issue on 0.77.0. Duplicated by: 2069 |
Reporting this exact same issue on v0.86.0, same resource / and same grant attempted (and then revoked as I found a more strict permission that worked for our use case). I'm able to work around it but flagging as a bug that's not yet resolved. |
Hey @matheus-fractal-river @simonepm @gdelia-pm @jacobcbeaudin Duplicated in #2069 |
Confirming this works for me as expected with 0.87.1. Thanks again Jan! |
Hey @sfc-gh-jcieslak, It would take me a bit to reproduce the error so I'll just trust @gdelia-pm and close the issue. Thanks!! |
Provider Version
"0.69"
Terraform Version
1.5.2
The version of Terraform you were using when the bug was encountered.
Can't destroy
snowflake_grant_privileges_to_role
resources.A clear and concise description of what the bug is.
I'm trying to destroy a module that creates some roles and does a bunch of grants via
snowflake_grant_privileges_to_role
, but I cannot destroy the resources b/c I keep getting:terraform-provider-snowflake/pkg/sdk/grants_validations.go
Line 38 in 538efa5
A clear and concise description of what you expected to happen.
I expect the resources to be destroyed.
Please add code examples and commands that were run to cause the problem.
The plan:
The apply error:
The text was updated successfully, but these errors were encountered: