-
Notifications
You must be signed in to change notification settings - Fork 418
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
Error: 5 or 6 fields allowed (using snowflake_role_grants) #922
Comments
FYI, 0.28.6 darwin amd64 flavor works fine on my MAC. 0.26.3 darwin amd64 flavor works fine on my MAC but the linux amd64 throws the same error above. |
Here it works on any release below 0.27.0 |
There's a fix coming in 0.28.7 from this PR #923 |
See comment: #923 (comment) I wonder if the fix should have been https://registry.terraform.io/providers/chanzuckerberg/snowflake/latest/docs/resources/role_grants There is only one "required" field |
The original code prior to #824 Allowed a 4 or 5 length pipe delimited ID, because the grant privilege isn’t always included. It now allows 4,5 or 6 values. It seems like role grants is a special resource, should’ve picked that up. I’ll revert the changes to that resource. |
@daniepett Do you know when will you be squaring this off? |
Does anybody know of a work-around for this issue while we wait for the next release? |
Answered my own question setting replace_on_changes=["users"] in the ResourceOptions seems to be a good workaround. I am using the provider via Pulumi though, but I guess Terraform has this option also. |
@nickperrott there is no option like that in terraform |
Got the same issue So, rolled back to version "0.25.36" |
I’ll fix the role grants over the weekend |
I created a rollback of the changes @daniepett @alldoami |
Provider Version
0.28.6
Terraform Version
1.1.7
Describe the bug
Error: 5 or 6 fields allowed (using snowflake_role_grants)
Expected behavior
In version 0.27.0 it works normally
Code samples and commands
Additional context
The text was updated successfully, but these errors were encountered: