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
If a particular privilege is removed from privileges, the providers should perform a revoke but it is not doing so.
Actual Behavior
Error: [grants_validations.go:174] exactly one of AccountRoleGrantPrivileges fields [AllPrivileges GlobalPrivileges AccountObjectPrivileges SchemaPrivileges
│ SchemaObjectPrivileges] must be set
Steps to Reproduce
Remove one of the privileges to reproduce this error. Adding new privileges work fine, but not removing existing privileges.
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
Would you like to implement a fix?
Yeah, I'll take it 😎
The text was updated successfully, but these errors were encountered:
This looks like a bug on our side, but I observed a different behavior: We use case-sensitive privileges here, and I can see the lowercase privileges are added in each plan. I tried running it with uppercase privileges, and it seems to be working correctly. Please adjust your config to
We will support lowercase privileges on our side. This is a general tip as well - when you see some errors, try using uppercase values, because they are "default".
Terraform CLI Version
1.5.7
Terraform Provider Version
0.99
Company Name
No response
Terraform Configuration
Category
category:resource
Object type(s)
resource:grant_privileges_to_account_role
Expected Behavior
If a particular privilege is removed from
privileges
, the providers should perform a revoke but it is not doing so.Actual Behavior
Error: [grants_validations.go:174] exactly one of AccountRoleGrantPrivileges fields [AllPrivileges GlobalPrivileges AccountObjectPrivileges SchemaPrivileges
│ SchemaObjectPrivileges] must be set
Steps to Reproduce
Remove one of the privileges to reproduce this error. Adding new privileges work fine, but not removing existing privileges.
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: