@pulumi/snowflake 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accountGrant.d.ts +1 -1
- package/accountGrant.js +1 -1
- package/config/vars.d.ts +10 -1
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/database.d.ts +30 -4
- package/database.js +12 -3
- package/database.js.map +1 -1
- package/databaseGrant.d.ts +1 -1
- package/databaseGrant.js +1 -1
- package/externalFunction.d.ts +3 -2
- package/externalFunction.js +1 -1
- package/externalFunction.js.map +1 -1
- package/externalTable.d.ts +10 -2
- package/externalTable.js +2 -1
- package/externalTable.js.map +1 -1
- package/externalTableGrant.d.ts +1 -1
- package/externalTableGrant.js +1 -1
- package/fileFormat.d.ts +1 -1
- package/fileFormat.js +1 -1
- package/fileFormatGrant.d.ts +1 -1
- package/fileFormatGrant.js +1 -1
- package/function.d.ts +3 -2
- package/function.js +1 -1
- package/function.js.map +1 -1
- package/functionGrant.d.ts +3 -2
- package/functionGrant.js +1 -1
- package/functionGrant.js.map +1 -1
- package/getDatabases.d.ts +1 -1
- package/getDatabases.js.map +1 -1
- package/getExternalFunctions.d.ts +1 -1
- package/getExternalFunctions.js.map +1 -1
- package/getExternalTables.d.ts +1 -1
- package/getExternalTables.js.map +1 -1
- package/getFileFormats.d.ts +1 -1
- package/getFileFormats.js.map +1 -1
- package/getFunctions.d.ts +1 -1
- package/getFunctions.js.map +1 -1
- package/getMaskingPolicies.d.ts +1 -1
- package/getMaskingPolicies.js.map +1 -1
- package/getMaterializedViews.d.ts +1 -1
- package/getMaterializedViews.js.map +1 -1
- package/getPipes.d.ts +1 -1
- package/getPipes.js.map +1 -1
- package/getProcedures.d.ts +1 -1
- package/getProcedures.js.map +1 -1
- package/getResourceMonitors.d.ts +1 -1
- package/getResourceMonitors.js.map +1 -1
- package/getRowAccessPolicies.d.ts +1 -1
- package/getRowAccessPolicies.js.map +1 -1
- package/getSchemas.d.ts +1 -1
- package/getSchemas.js.map +1 -1
- package/getSequences.d.ts +1 -1
- package/getSequences.js.map +1 -1
- package/getStages.d.ts +1 -1
- package/getStages.js.map +1 -1
- package/getStorageIntegrations.d.ts +1 -1
- package/getStorageIntegrations.js.map +1 -1
- package/getStreams.d.ts +1 -1
- package/getStreams.js.map +1 -1
- package/getTables.d.ts +1 -1
- package/getTables.js.map +1 -1
- package/getTasks.d.ts +1 -1
- package/getTasks.js.map +1 -1
- package/getUsers.d.ts +1 -1
- package/getUsers.js.map +1 -1
- package/getViews.d.ts +1 -1
- package/getViews.js.map +1 -1
- package/getWarehouses.d.ts +1 -1
- package/getWarehouses.js.map +1 -1
- package/index.d.ts +263 -87
- package/index.js +272 -222
- package/index.js.map +1 -1
- package/integrationGrant.d.ts +1 -1
- package/integrationGrant.js +1 -1
- package/managedAccount.js +3 -1
- package/managedAccount.js.map +1 -1
- package/maskingPolicy.d.ts +1 -1
- package/maskingPolicy.js +1 -1
- package/materializedView.d.ts +9 -2
- package/materializedView.js +1 -1
- package/materializedView.js.map +1 -1
- package/materializedViewGrant.d.ts +1 -1
- package/materializedViewGrant.js +1 -1
- package/notificationIntegration.d.ts +2 -5
- package/notificationIntegration.js +2 -5
- package/notificationIntegration.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pipe.d.ts +1 -1
- package/pipe.js +1 -1
- package/pipeGrant.d.ts +1 -1
- package/pipeGrant.js +1 -1
- package/procedure.d.ts +3 -2
- package/procedure.js +1 -1
- package/procedure.js.map +1 -1
- package/procedureGrant.d.ts +3 -2
- package/procedureGrant.js +1 -1
- package/procedureGrant.js.map +1 -1
- package/provider.d.ts +15 -2
- package/provider.js +14 -10
- package/provider.js.map +1 -1
- package/resourceMonitorGrant.d.ts +1 -1
- package/resourceMonitorGrant.js +1 -1
- package/role.d.ts +8 -1
- package/role.js.map +1 -1
- package/rowAccessPolicy.d.ts +1 -1
- package/rowAccessPolicy.js +1 -1
- package/rowAccessPolicyGrant.d.ts +1 -1
- package/rowAccessPolicyGrant.js +1 -1
- package/schema.d.ts +9 -2
- package/schema.js +1 -1
- package/schema.js.map +1 -1
- package/schemaGrant.d.ts +1 -1
- package/schemaGrant.js +1 -1
- package/sequence.d.ts +1 -1
- package/sequence.js +1 -1
- package/sequenceGrant.d.ts +1 -1
- package/sequenceGrant.js +1 -1
- package/share.d.ts +1 -1
- package/share.js +1 -1
- package/stage.d.ts +9 -2
- package/stage.js +4 -2
- package/stage.js.map +1 -1
- package/stageGrant.d.ts +1 -1
- package/stageGrant.js +1 -1
- package/stream.d.ts +1 -1
- package/stream.js +1 -1
- package/streamGrant.d.ts +1 -1
- package/streamGrant.js +1 -1
- package/table.d.ts +9 -2
- package/table.js +1 -1
- package/table.js.map +1 -1
- package/tableGrant.d.ts +1 -1
- package/tableGrant.js +1 -1
- package/tag.d.ts +8 -8
- package/tag.js +8 -8
- package/tagAssociation.d.ts +130 -0
- package/tagAssociation.js +103 -0
- package/tagAssociation.js.map +1 -0
- package/tagGrant.d.ts +1 -1
- package/tagGrant.js +1 -1
- package/tagMaskingPolicyAssociation.d.ts +69 -0
- package/tagMaskingPolicyAssociation.js +66 -0
- package/tagMaskingPolicyAssociation.js.map +1 -0
- package/task.d.ts +1 -1
- package/task.js +1 -1
- package/taskGrant.d.ts +1 -1
- package/taskGrant.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +1 -1
- package/types/output.d.ts +1 -1
- package/user.d.ts +32 -1
- package/user.js +27 -1
- package/user.js.map +1 -1
- package/userGrant.d.ts +122 -0
- package/userGrant.js +86 -0
- package/userGrant.js.map +1 -0
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/view.d.ts +9 -2
- package/view.js +1 -1
- package/view.js.map +1 -1
- package/viewGrant.d.ts +1 -1
- package/viewGrant.js +1 -1
- package/warehouse.d.ts +8 -1
- package/warehouse.js.map +1 -1
- package/warehouseGrant.d.ts +1 -1
- package/warehouseGrant.js +1 -1
package/resourceMonitorGrant.js
CHANGED
|
@@ -12,7 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as snowflake from "@pulumi/snowflake";
|
|
14
14
|
*
|
|
15
|
-
* const grant = new snowflake.
|
|
15
|
+
* const grant = new snowflake.ResourceMonitorGrant("grant", {
|
|
16
16
|
* monitorName: "monitor",
|
|
17
17
|
* privilege: "MODIFY",
|
|
18
18
|
* roles: ["role1"],
|
package/role.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* ## Example Usage
|
|
5
6
|
*
|
|
@@ -38,6 +39,8 @@ export declare class Role extends pulumi.CustomResource {
|
|
|
38
39
|
readonly name: pulumi.Output<string>;
|
|
39
40
|
/**
|
|
40
41
|
* Definitions of a tag to associate with the resource.
|
|
42
|
+
*
|
|
43
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
41
44
|
*/
|
|
42
45
|
readonly tags: pulumi.Output<outputs.RoleTag[] | undefined>;
|
|
43
46
|
/**
|
|
@@ -57,6 +60,8 @@ export interface RoleState {
|
|
|
57
60
|
name?: pulumi.Input<string>;
|
|
58
61
|
/**
|
|
59
62
|
* Definitions of a tag to associate with the resource.
|
|
63
|
+
*
|
|
64
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
60
65
|
*/
|
|
61
66
|
tags?: pulumi.Input<pulumi.Input<inputs.RoleTag>[]>;
|
|
62
67
|
}
|
|
@@ -68,6 +73,8 @@ export interface RoleArgs {
|
|
|
68
73
|
name?: pulumi.Input<string>;
|
|
69
74
|
/**
|
|
70
75
|
* Definitions of a tag to associate with the resource.
|
|
76
|
+
*
|
|
77
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
71
78
|
*/
|
|
72
79
|
tags?: pulumi.Input<pulumi.Input<inputs.RoleTag>[]>;
|
|
73
80
|
}
|
package/role.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IA6C3C,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAmC,CAAC;YACjD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IA5DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;;AA1BL,oBA8DC;AAhDG,gBAAgB;AACO,iBAAY,GAAG,2BAA2B,CAAC"}
|
package/rowAccessPolicy.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
21
21
|
*
|
|
22
|
-
*
|
|
22
|
+
* format is database name | schema name | policy name
|
|
23
23
|
*
|
|
24
24
|
* ```sh
|
|
25
25
|
* $ pulumi import snowflake:index/rowAccessPolicy:RowAccessPolicy example 'dbName|schemaName|policyName'
|
package/rowAccessPolicy.js
CHANGED
|
@@ -25,7 +25,7 @@ const utilities = require("./utilities");
|
|
|
25
25
|
*
|
|
26
26
|
* ## Import
|
|
27
27
|
*
|
|
28
|
-
*
|
|
28
|
+
* format is database name | schema name | policy name
|
|
29
29
|
*
|
|
30
30
|
* ```sh
|
|
31
31
|
* $ pulumi import snowflake:index/rowAccessPolicy:RowAccessPolicy example 'dbName|schemaName|policyName'
|
|
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
21
|
*
|
|
22
22
|
* ## Import
|
|
23
23
|
*
|
|
24
|
-
*
|
|
24
|
+
* format is database name | schema name | row access policy name | privilege | true/false for with_grant_option
|
|
25
25
|
*
|
|
26
26
|
* ```sh
|
|
27
27
|
* $ pulumi import snowflake:index/rowAccessPolicyGrant:RowAccessPolicyGrant example 'dbName|schemaName|rowAccessPolicyName|SELECT|false'
|
package/rowAccessPolicyGrant.js
CHANGED
|
@@ -27,7 +27,7 @@ const utilities = require("./utilities");
|
|
|
27
27
|
*
|
|
28
28
|
* ## Import
|
|
29
29
|
*
|
|
30
|
-
*
|
|
30
|
+
* format is database name | schema name | row access policy name | privilege | true/false for with_grant_option
|
|
31
31
|
*
|
|
32
32
|
* ```sh
|
|
33
33
|
* $ pulumi import snowflake:index/rowAccessPolicyGrant:RowAccessPolicyGrant example 'dbName|schemaName|rowAccessPolicyName|SELECT|false'
|
package/schema.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* ## Example Usage
|
|
5
6
|
*
|
|
@@ -18,7 +19,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
18
19
|
*
|
|
19
20
|
* ## Import
|
|
20
21
|
*
|
|
21
|
-
*
|
|
22
|
+
* format is dbName | schemaName
|
|
22
23
|
*
|
|
23
24
|
* ```sh
|
|
24
25
|
* $ pulumi import snowflake:index/schema:Schema example 'dbName|schemaName'
|
|
@@ -66,6 +67,8 @@ export declare class Schema extends pulumi.CustomResource {
|
|
|
66
67
|
readonly name: pulumi.Output<string>;
|
|
67
68
|
/**
|
|
68
69
|
* Definitions of a tag to associate with the resource.
|
|
70
|
+
*
|
|
71
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
69
72
|
*/
|
|
70
73
|
readonly tags: pulumi.Output<outputs.SchemaTag[] | undefined>;
|
|
71
74
|
/**
|
|
@@ -107,6 +110,8 @@ export interface SchemaState {
|
|
|
107
110
|
name?: pulumi.Input<string>;
|
|
108
111
|
/**
|
|
109
112
|
* Definitions of a tag to associate with the resource.
|
|
113
|
+
*
|
|
114
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
110
115
|
*/
|
|
111
116
|
tags?: pulumi.Input<pulumi.Input<inputs.SchemaTag>[]>;
|
|
112
117
|
}
|
|
@@ -140,6 +145,8 @@ export interface SchemaArgs {
|
|
|
140
145
|
name?: pulumi.Input<string>;
|
|
141
146
|
/**
|
|
142
147
|
* Definitions of a tag to associate with the resource.
|
|
148
|
+
*
|
|
149
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
143
150
|
*/
|
|
144
151
|
tags?: pulumi.Input<pulumi.Input<inputs.SchemaTag>[]>;
|
|
145
152
|
}
|
package/schema.js
CHANGED
package/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../schema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../schema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAmE7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IA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mBAAY,GAAG,+BAA+B,CAAC"}
|
package/schemaGrant.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
25
|
*
|
|
26
26
|
* ## Import
|
|
27
27
|
*
|
|
28
|
-
*
|
|
28
|
+
* format is database name | schema name | | privilege | true/false for with_grant_option
|
|
29
29
|
*
|
|
30
30
|
* ```sh
|
|
31
31
|
* $ pulumi import snowflake:index/schemaGrant:SchemaGrant example 'databaseName|schemaName||MONITOR|false'
|
package/schemaGrant.js
CHANGED
|
@@ -31,7 +31,7 @@ const utilities = require("./utilities");
|
|
|
31
31
|
*
|
|
32
32
|
* ## Import
|
|
33
33
|
*
|
|
34
|
-
*
|
|
34
|
+
* format is database name | schema name | | privilege | true/false for with_grant_option
|
|
35
35
|
*
|
|
36
36
|
* ```sh
|
|
37
37
|
* $ pulumi import snowflake:index/schemaGrant:SchemaGrant example 'databaseName|schemaName||MONITOR|false'
|
package/sequence.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* ## Import
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* format is database name | schema name | sequence name
|
|
20
20
|
*
|
|
21
21
|
* ```sh
|
|
22
22
|
* $ pulumi import snowflake:index/sequence:Sequence example 'dbName|schemaName|sequenceName'
|
package/sequence.js
CHANGED
|
@@ -22,7 +22,7 @@ const utilities = require("./utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* ## Import
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* format is database name | schema name | sequence name
|
|
26
26
|
*
|
|
27
27
|
* ```sh
|
|
28
28
|
* $ pulumi import snowflake:index/sequence:Sequence example 'dbName|schemaName|sequenceName'
|
package/sequenceGrant.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
*
|
|
23
23
|
* ## Import
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* format is database name | schema name | sequence name | privilege | true/false for with_grant_option
|
|
26
26
|
*
|
|
27
27
|
* ```sh
|
|
28
28
|
* $ pulumi import snowflake:index/sequenceGrant:SequenceGrant example 'dbName|schemaName|sequenceName|USAGE|false'
|
package/sequenceGrant.js
CHANGED
|
@@ -28,7 +28,7 @@ const utilities = require("./utilities");
|
|
|
28
28
|
*
|
|
29
29
|
* ## Import
|
|
30
30
|
*
|
|
31
|
-
*
|
|
31
|
+
* format is database name | schema name | sequence name | privilege | true/false for with_grant_option
|
|
32
32
|
*
|
|
33
33
|
* ```sh
|
|
34
34
|
* $ pulumi import snowflake:index/sequenceGrant:SequenceGrant example 'dbName|schemaName|sequenceName|USAGE|false'
|
package/share.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* import * as snowflake from "@pulumi/snowflake";
|
|
8
8
|
*
|
|
9
9
|
* const test = new snowflake.Share("test", {
|
|
10
|
-
* accounts: "organizationName.accountName",
|
|
10
|
+
* accounts: ["organizationName.accountName"],
|
|
11
11
|
* comment: "cool comment",
|
|
12
12
|
* });
|
|
13
13
|
* ```
|
package/share.js
CHANGED
|
@@ -13,7 +13,7 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* import * as snowflake from "@pulumi/snowflake";
|
|
14
14
|
*
|
|
15
15
|
* const test = new snowflake.Share("test", {
|
|
16
|
-
* accounts: "organizationName.accountName",
|
|
16
|
+
* accounts: ["organizationName.accountName"],
|
|
17
17
|
* comment: "cool comment",
|
|
18
18
|
* });
|
|
19
19
|
* ```
|
package/stage.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* ## Example Usage
|
|
5
6
|
*
|
|
@@ -24,7 +25,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
24
25
|
*
|
|
25
26
|
* ## Import
|
|
26
27
|
*
|
|
27
|
-
*
|
|
28
|
+
* format is database name | schema name | stage name
|
|
28
29
|
*
|
|
29
30
|
* ```sh
|
|
30
31
|
* $ pulumi import snowflake:index/stage:Stage example 'dbName|schemaName|stageName'
|
|
@@ -90,6 +91,8 @@ export declare class Stage extends pulumi.CustomResource {
|
|
|
90
91
|
readonly storageIntegration: pulumi.Output<string | undefined>;
|
|
91
92
|
/**
|
|
92
93
|
* Definitions of a tag to associate with the resource.
|
|
94
|
+
*
|
|
95
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
93
96
|
*/
|
|
94
97
|
readonly tags: pulumi.Output<outputs.StageTag[] | undefined>;
|
|
95
98
|
/**
|
|
@@ -153,6 +156,8 @@ export interface StageState {
|
|
|
153
156
|
storageIntegration?: pulumi.Input<string>;
|
|
154
157
|
/**
|
|
155
158
|
* Definitions of a tag to associate with the resource.
|
|
159
|
+
*
|
|
160
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
156
161
|
*/
|
|
157
162
|
tags?: pulumi.Input<pulumi.Input<inputs.StageTag>[]>;
|
|
158
163
|
/**
|
|
@@ -208,6 +213,8 @@ export interface StageArgs {
|
|
|
208
213
|
storageIntegration?: pulumi.Input<string>;
|
|
209
214
|
/**
|
|
210
215
|
* Definitions of a tag to associate with the resource.
|
|
216
|
+
*
|
|
217
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
211
218
|
*/
|
|
212
219
|
tags?: pulumi.Input<pulumi.Input<inputs.StageTag>[]>;
|
|
213
220
|
/**
|
package/stage.js
CHANGED
|
@@ -29,7 +29,7 @@ const utilities = require("./utilities");
|
|
|
29
29
|
*
|
|
30
30
|
* ## Import
|
|
31
31
|
*
|
|
32
|
-
*
|
|
32
|
+
* format is database name | schema name | stage name
|
|
33
33
|
*
|
|
34
34
|
* ```sh
|
|
35
35
|
* $ pulumi import snowflake:index/stage:Stage example 'dbName|schemaName|stageName'
|
|
@@ -67,7 +67,7 @@ class Stage extends pulumi.CustomResource {
|
|
|
67
67
|
resourceInputs["awsExternalId"] = args ? args.awsExternalId : undefined;
|
|
68
68
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
69
69
|
resourceInputs["copyOptions"] = args ? args.copyOptions : undefined;
|
|
70
|
-
resourceInputs["credentials"] = args ? args.credentials : undefined;
|
|
70
|
+
resourceInputs["credentials"] = (args === null || args === void 0 ? void 0 : args.credentials) ? pulumi.secret(args.credentials) : undefined;
|
|
71
71
|
resourceInputs["database"] = args ? args.database : undefined;
|
|
72
72
|
resourceInputs["directory"] = args ? args.directory : undefined;
|
|
73
73
|
resourceInputs["encryption"] = args ? args.encryption : undefined;
|
|
@@ -80,6 +80,8 @@ class Stage extends pulumi.CustomResource {
|
|
|
80
80
|
resourceInputs["url"] = args ? args.url : undefined;
|
|
81
81
|
}
|
|
82
82
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
const secretOpts = { additionalSecretOutputs: ["credentials"] };
|
|
84
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
83
85
|
super(Stage.__pulumiType, name, resourceInputs, opts);
|
|
84
86
|
}
|
|
85
87
|
/**
|
package/stage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stage.js","sourceRoot":"","sources":["../stage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"stage.js","sourceRoot":"","sources":["../stage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAyF5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,I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AC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IAtID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAwIC;AA1HG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
package/stageGrant.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
*
|
|
27
27
|
* ## Import
|
|
28
28
|
*
|
|
29
|
-
*
|
|
29
|
+
* format is database name | schema name | stage name | privilege | true/false for with_grant_option
|
|
30
30
|
*
|
|
31
31
|
* ```sh
|
|
32
32
|
* $ pulumi import snowflake:index/stageGrant:StageGrant example 'databaseName|schemaName|stageName|USAGE|true'
|
package/stageGrant.js
CHANGED
|
@@ -32,7 +32,7 @@ const utilities = require("./utilities");
|
|
|
32
32
|
*
|
|
33
33
|
* ## Import
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* format is database name | schema name | stage name | privilege | true/false for with_grant_option
|
|
36
36
|
*
|
|
37
37
|
* ```sh
|
|
38
38
|
* $ pulumi import snowflake:index/stageGrant:StageGrant example 'databaseName|schemaName|stageName|USAGE|true'
|
package/stream.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
21
21
|
*
|
|
22
|
-
*
|
|
22
|
+
* format is database name | schema name | stream name
|
|
23
23
|
*
|
|
24
24
|
* ```sh
|
|
25
25
|
* $ pulumi import snowflake:index/stream:Stream example 'dbName|schemaName|streamName'
|
package/stream.js
CHANGED
|
@@ -25,7 +25,7 @@ const utilities = require("./utilities");
|
|
|
25
25
|
*
|
|
26
26
|
* ## Import
|
|
27
27
|
*
|
|
28
|
-
*
|
|
28
|
+
* format is database name | schema name | stream name
|
|
29
29
|
*
|
|
30
30
|
* ```sh
|
|
31
31
|
* $ pulumi import snowflake:index/stream:Stream example 'dbName|schemaName|streamName'
|
package/streamGrant.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
*
|
|
23
23
|
* ## Import
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* format is database name | schema name | stream name | privilege | true/false for with_grant_option
|
|
26
26
|
*
|
|
27
27
|
* ```sh
|
|
28
28
|
* $ pulumi import snowflake:index/streamGrant:StreamGrant example 'dbName|schemaName|streamName|SELECT|false'
|
package/streamGrant.js
CHANGED
|
@@ -28,7 +28,7 @@ const utilities = require("./utilities");
|
|
|
28
28
|
*
|
|
29
29
|
* ## Import
|
|
30
30
|
*
|
|
31
|
-
*
|
|
31
|
+
* format is database name | schema name | stream name | privilege | true/false for with_grant_option
|
|
32
32
|
*
|
|
33
33
|
* ```sh
|
|
34
34
|
* $ pulumi import snowflake:index/streamGrant:StreamGrant example 'dbName|schemaName|streamName|SELECT|false'
|
package/table.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* ## Example Usage
|
|
5
6
|
*
|
|
@@ -64,7 +65,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
64
65
|
*
|
|
65
66
|
* ## Import
|
|
66
67
|
*
|
|
67
|
-
*
|
|
68
|
+
* format is database name | schema name | table name
|
|
68
69
|
*
|
|
69
70
|
* ```sh
|
|
70
71
|
* $ pulumi import snowflake:index/table:Table example 'databaseName|schemaName|tableName'
|
|
@@ -128,6 +129,8 @@ export declare class Table extends pulumi.CustomResource {
|
|
|
128
129
|
readonly schema: pulumi.Output<string>;
|
|
129
130
|
/**
|
|
130
131
|
* Definitions of a tag to associate with the resource.
|
|
132
|
+
*
|
|
133
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
131
134
|
*/
|
|
132
135
|
readonly tags: pulumi.Output<outputs.TableTag[] | undefined>;
|
|
133
136
|
/**
|
|
@@ -185,6 +188,8 @@ export interface TableState {
|
|
|
185
188
|
schema?: pulumi.Input<string>;
|
|
186
189
|
/**
|
|
187
190
|
* Definitions of a tag to associate with the resource.
|
|
191
|
+
*
|
|
192
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
188
193
|
*/
|
|
189
194
|
tags?: pulumi.Input<pulumi.Input<inputs.TableTag>[]>;
|
|
190
195
|
}
|
|
@@ -230,6 +235,8 @@ export interface TableArgs {
|
|
|
230
235
|
schema: pulumi.Input<string>;
|
|
231
236
|
/**
|
|
232
237
|
* Definitions of a tag to associate with the resource.
|
|
238
|
+
*
|
|
239
|
+
* @deprecated Use the 'snowflake_tag_association' resource instead.
|
|
233
240
|
*/
|
|
234
241
|
tags?: pulumi.Input<pulumi.Input<inputs.TableTag>[]>;
|
|
235
242
|
}
|
package/table.js
CHANGED
|
@@ -69,7 +69,7 @@ const utilities = require("./utilities");
|
|
|
69
69
|
*
|
|
70
70
|
* ## Import
|
|
71
71
|
*
|
|
72
|
-
*
|
|
72
|
+
* format is database name | schema name | table name
|
|
73
73
|
*
|
|
74
74
|
* ```sh
|
|
75
75
|
* $ pulumi import snowflake:index/table:Table example 'databaseName|schemaName|tableName'
|
package/table.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../table.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../table.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAmF5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAA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,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IA3HD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBA6HC;AA/GG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
package/tableGrant.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
*
|
|
21
21
|
* ## Import
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* format is database name | schema name | table name | privilege | true/false for with_grant_option
|
|
24
24
|
*
|
|
25
25
|
* ```sh
|
|
26
26
|
* $ pulumi import snowflake:index/tableGrant:TableGrant example 'databaseName|schemaName|tableName|MODIFY|true'
|
package/tableGrant.js
CHANGED
|
@@ -26,7 +26,7 @@ const utilities = require("./utilities");
|
|
|
26
26
|
*
|
|
27
27
|
* ## Import
|
|
28
28
|
*
|
|
29
|
-
*
|
|
29
|
+
* format is database name | schema name | table name | privilege | true/false for with_grant_option
|
|
30
30
|
*
|
|
31
31
|
* ```sh
|
|
32
32
|
* $ pulumi import snowflake:index/tableGrant:TableGrant example 'databaseName|schemaName|tableName|MODIFY|true'
|
package/tag.d.ts
CHANGED
|
@@ -6,21 +6,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
7
|
* import * as snowflake from "@pulumi/snowflake";
|
|
8
8
|
*
|
|
9
|
-
* const
|
|
9
|
+
* const database = new snowflake.Database("database", {});
|
|
10
|
+
* const schema = new snowflake.Schema("schema", {database: database.name});
|
|
11
|
+
* const tag = new snowflake.Tag("tag", {
|
|
12
|
+
* database: database.name,
|
|
13
|
+
* schema: schema.name,
|
|
10
14
|
* allowedValues: [
|
|
11
|
-
* "
|
|
12
|
-
* "
|
|
15
|
+
* "finance",
|
|
16
|
+
* "engineering",
|
|
13
17
|
* ],
|
|
14
|
-
* // Optionals
|
|
15
|
-
* comment: "test comment",
|
|
16
|
-
* database: "test_db",
|
|
17
|
-
* schema: "test_schema",
|
|
18
18
|
* });
|
|
19
19
|
* ```
|
|
20
20
|
*
|
|
21
21
|
* ## Import
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* format is database name | schema name | tag name
|
|
24
24
|
*
|
|
25
25
|
* ```sh
|
|
26
26
|
* $ pulumi import snowflake:index/tag:Tag example 'dbName|schemaName|tagName'
|
package/tag.js
CHANGED
|
@@ -12,21 +12,21 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as snowflake from "@pulumi/snowflake";
|
|
14
14
|
*
|
|
15
|
-
* const
|
|
15
|
+
* const database = new snowflake.Database("database", {});
|
|
16
|
+
* const schema = new snowflake.Schema("schema", {database: database.name});
|
|
17
|
+
* const tag = new snowflake.Tag("tag", {
|
|
18
|
+
* database: database.name,
|
|
19
|
+
* schema: schema.name,
|
|
16
20
|
* allowedValues: [
|
|
17
|
-
* "
|
|
18
|
-
* "
|
|
21
|
+
* "finance",
|
|
22
|
+
* "engineering",
|
|
19
23
|
* ],
|
|
20
|
-
* // Optionals
|
|
21
|
-
* comment: "test comment",
|
|
22
|
-
* database: "test_db",
|
|
23
|
-
* schema: "test_schema",
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
26
|
*
|
|
27
27
|
* ## Import
|
|
28
28
|
*
|
|
29
|
-
*
|
|
29
|
+
* format is database name | schema name | tag name
|
|
30
30
|
*
|
|
31
31
|
* ```sh
|
|
32
32
|
* $ pulumi import snowflake:index/tag:Tag example 'dbName|schemaName|tagName'
|