diff --git a/pkg/resources/account_grant.go b/pkg/resources/account_grant.go index 7bb53fe414..c1dcd39634 100644 --- a/pkg/resources/account_grant.go +++ b/pkg/resources/account_grant.go @@ -17,6 +17,8 @@ var validAccountPrivileges = NewPrivilegeSet( privilegeMonitorExecution, privilegeExecuteTask, privilegeApplyMaskingPolicy, + privilegeCreateShare, + privilegeImportShare, ) var accountGrantSchema = map[string]*schema.Schema{ diff --git a/pkg/resources/privileges.go b/pkg/resources/privileges.go index 15f806399d..63d00929ce 100644 --- a/pkg/resources/privileges.go +++ b/pkg/resources/privileges.go @@ -37,6 +37,8 @@ const ( privilegeCreateMaterializedView Privilege = "CREATE MATERIALIZED VIEW" privilegeCreateTemporaryTable Privilege = "CREATE TEMPORARY TABLE" privilegeCreateMaskingPolicy Privilege = "CREATE MASKING POLICY" + privilegeCreateShare Privilege = "CREATE SHARE" + privilegeImportShare Privilege = "IMPORT SHARE" privilegeAddSearchOptimization Privilege = "ADD SEARCH OPTIMIZATION" privilegeApplyMaskingPolicy Privilege = "APPLY MASKING POLICY"