Skip to content

Commit 84ebf2c

Browse files
Add missing parameters
1 parent 962b1b6 commit 84ebf2c

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

pkg/resources/grant_privileges_to_role.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ var grantPrivilegesToRoleSchema = map[string]*schema.Schema{
191191
"TASKS",
192192
"VIEWS",
193193
"MATERIALIZED VIEWS",
194+
"ICEBERG TABLES",
195+
"EXTERNAL VOLUMES",
196+
"CATALOG INTEGRATIONS",
194197
}, true),
195198
},
196199
"in_database": {
@@ -245,6 +248,9 @@ var grantPrivilegesToRoleSchema = map[string]*schema.Schema{
245248
"TASKS",
246249
"VIEWS",
247250
"MATERIALIZED VIEWS",
251+
"ICEBERG TABLES",
252+
"EXTERNAL VOLUMES",
253+
"CATALOG INTEGRATIONS",
248254
}, true),
249255
},
250256
"in_database": {

pkg/sdk/object_types.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ const (
5959
ObjectTypeApplicationRole ObjectType = "APPLICATION ROLE"
6060
ObjectTypeStreamlit ObjectType = "STREAMLIT"
6161
ObjectTypeColumn ObjectType = "COLUMN"
62+
ObjectTypeIcebergTable ObjectType = "ICEBERG TABLE"
63+
ObjectTypeExternalVolume ObjectType = "EXTERNAL VOLUME"
64+
ObjectTypeCatalogIntegration ObjectType = "CATALOG INTEGRATION"
6265
)
6366

6467
func (o ObjectType) String() string {
@@ -109,6 +112,9 @@ func objectTypeSingularToPluralMap() map[ObjectType]PluralObjectType {
109112
ObjectTypeApplicationPackage: PluralObjectTypeApplicationPackages,
110113
ObjectTypeApplicationRole: PluralObjectTypeApplicationRoles,
111114
ObjectTypeStreamlit: PluralObjectTypeStreamlits,
115+
ObjectTypeIcebergTable: PluralObjectTypeIcebergTables,
116+
ObjectTypeExternalVolume: PluralObjectTypeExternalVolumes,
117+
ObjectTypeCatalogIntegration: PluralObjectTypeCatalogIntegrations,
112118
}
113119
}
114120

@@ -199,6 +205,9 @@ const (
199205
PluralObjectTypeApplicationPackages PluralObjectType = "APPLICATION PACKAGES"
200206
PluralObjectTypeApplicationRoles PluralObjectType = "APPLICATION ROLES"
201207
PluralObjectTypeStreamlits PluralObjectType = "STREAMLITS"
208+
PluralObjectTypeIcebergTables PluralObjectType = "ICEBERG TABLES"
209+
PluralObjectTypeExternalVolumes PluralObjectType = "EXTERNAL VOLUMES"
210+
PluralObjectTypeCatalogIntegrations PluralObjectType = "CATALOG INTEGRATIONS"
202211
)
203212

204213
func (p PluralObjectType) String() string {

0 commit comments

Comments
 (0)