@pulumi/dbtcloud 1.5.0-alpha.1768973662 → 1.5.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/accountFeatures.d.ts +54 -12
- package/accountFeatures.js +24 -2
- package/accountFeatures.js.map +1 -1
- package/connectionCatalogConfig.d.ts +229 -0
- package/connectionCatalogConfig.js +153 -0
- package/connectionCatalogConfig.js.map +1 -0
- package/databricksPlatformMetadataCredential.d.ts +157 -0
- package/databricksPlatformMetadataCredential.js +107 -0
- package/databricksPlatformMetadataCredential.js.map +1 -0
- package/index.d.ts +9 -0
- package/index.js +18 -3
- package/index.js.map +1 -1
- package/job.d.ts +18 -6
- package/job.js +2 -0
- package/job.js.map +1 -1
- package/package.json +2 -2
- package/snowflakePlatformMetadataCredential.d.ts +233 -0
- package/snowflakePlatformMetadataCredential.js +139 -0
- package/snowflakePlatformMetadataCredential.js.map +1 -0
- package/types/input.d.ts +6 -0
- package/types/output.d.ts +6 -0
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages Snowflake platform metadata credentials for external metadata ingestion in dbt Cloud.
|
|
4
|
+
*
|
|
5
|
+
* This resource configures credentials that allow dbt Cloud to connect directly to your Snowflake warehouse
|
|
6
|
+
* to ingest metadata outside of normal dbt project runs. This enables features like:
|
|
7
|
+
*
|
|
8
|
+
* - **Catalog Ingestion**: Ingest metadata about tables/views not defined in dbt
|
|
9
|
+
* - **Cost Optimization**: Query warehouse cost and performance data
|
|
10
|
+
* - **Cost Insights**: Enhanced cost visibility and analysis
|
|
11
|
+
*
|
|
12
|
+
* > **Note:** At least one of `catalogIngestionEnabled`, `costOptimizationEnabled`, or
|
|
13
|
+
* `costInsightsEnabled` must be enabled for the credential to be usable.
|
|
14
|
+
*
|
|
15
|
+
* > **Note:** The `connectionId` cannot be changed after creation. To use a different connection,
|
|
16
|
+
* you must destroy and recreate the resource.
|
|
17
|
+
*
|
|
18
|
+
* ## Example Usage
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
23
|
+
*
|
|
24
|
+
* // Example: Snowflake Platform Metadata Credential with password auth
|
|
25
|
+
* const passwordAuth = new dbtcloud.SnowflakePlatformMetadataCredential("password_auth", {
|
|
26
|
+
* connectionId: snowflake.id,
|
|
27
|
+
* catalogIngestionEnabled: true,
|
|
28
|
+
* costOptimizationEnabled: true,
|
|
29
|
+
* costInsightsEnabled: false,
|
|
30
|
+
* authType: "password",
|
|
31
|
+
* user: "METADATA_READER",
|
|
32
|
+
* password: snowflakePassword,
|
|
33
|
+
* role: "METADATA_READER_ROLE",
|
|
34
|
+
* warehouse: "METADATA_WH",
|
|
35
|
+
* });
|
|
36
|
+
* // Example: Snowflake Platform Metadata Credential with keypair auth
|
|
37
|
+
* const keypairAuth = new dbtcloud.SnowflakePlatformMetadataCredential("keypair_auth", {
|
|
38
|
+
* connectionId: snowflake.id,
|
|
39
|
+
* catalogIngestionEnabled: true,
|
|
40
|
+
* costOptimizationEnabled: false,
|
|
41
|
+
* costInsightsEnabled: false,
|
|
42
|
+
* authType: "keypair",
|
|
43
|
+
* user: "METADATA_READER",
|
|
44
|
+
* privateKey: snowflakePrivateKey,
|
|
45
|
+
* privateKeyPassphrase: snowflakePrivateKeyPassphrase,
|
|
46
|
+
* role: "METADATA_READER_ROLE",
|
|
47
|
+
* warehouse: "METADATA_WH",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare class SnowflakePlatformMetadataCredential extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing SnowflakePlatformMetadataCredential resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param state Any extra arguments used during the lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SnowflakePlatformMetadataCredentialState, opts?: pulumi.CustomResourceOptions): SnowflakePlatformMetadataCredential;
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of SnowflakePlatformMetadataCredential. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj: any): obj is SnowflakePlatformMetadataCredential;
|
|
67
|
+
/**
|
|
68
|
+
* The adapter version derived from the connection (e.g., 'snowflake*v0', 'databricks*v0'). This is read-only and determined by the connection.
|
|
69
|
+
*/
|
|
70
|
+
readonly adapterVersion: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The authentication type. Must be 'password' or 'keypair'.
|
|
73
|
+
*/
|
|
74
|
+
readonly authType: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
|
|
77
|
+
*/
|
|
78
|
+
readonly catalogIngestionEnabled: pulumi.Output<boolean>;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the global connection this credential is associated with. Cannot be changed after creation.
|
|
81
|
+
*/
|
|
82
|
+
readonly connectionId: pulumi.Output<number>;
|
|
83
|
+
/**
|
|
84
|
+
* Whether cost insights is enabled for this credential.
|
|
85
|
+
*/
|
|
86
|
+
readonly costInsightsEnabled: pulumi.Output<boolean>;
|
|
87
|
+
/**
|
|
88
|
+
* Whether cost optimization data collection is enabled for this credential.
|
|
89
|
+
*/
|
|
90
|
+
readonly costOptimizationEnabled: pulumi.Output<boolean>;
|
|
91
|
+
/**
|
|
92
|
+
* The ID of the platform metadata credential.
|
|
93
|
+
*/
|
|
94
|
+
readonly credentialId: pulumi.Output<number>;
|
|
95
|
+
/**
|
|
96
|
+
* The password for password authentication. Required when auth*type is 'password'. Cannot be used with private*key or private*key*passphrase.
|
|
97
|
+
*/
|
|
98
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password.
|
|
101
|
+
*/
|
|
102
|
+
readonly privateKey: pulumi.Output<string | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password.
|
|
105
|
+
*/
|
|
106
|
+
readonly privateKeyPassphrase: pulumi.Output<string | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* The Snowflake role to use.
|
|
109
|
+
*/
|
|
110
|
+
readonly role: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The Snowflake user name.
|
|
113
|
+
*/
|
|
114
|
+
readonly user: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The Snowflake warehouse to use.
|
|
117
|
+
*/
|
|
118
|
+
readonly warehouse: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Create a SnowflakePlatformMetadataCredential resource with the given unique name, arguments, and options.
|
|
121
|
+
*
|
|
122
|
+
* @param name The _unique_ name of the resource.
|
|
123
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
124
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
125
|
+
*/
|
|
126
|
+
constructor(name: string, args: SnowflakePlatformMetadataCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Input properties used for looking up and filtering SnowflakePlatformMetadataCredential resources.
|
|
130
|
+
*/
|
|
131
|
+
export interface SnowflakePlatformMetadataCredentialState {
|
|
132
|
+
/**
|
|
133
|
+
* The adapter version derived from the connection (e.g., 'snowflake*v0', 'databricks*v0'). This is read-only and determined by the connection.
|
|
134
|
+
*/
|
|
135
|
+
adapterVersion?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The authentication type. Must be 'password' or 'keypair'.
|
|
138
|
+
*/
|
|
139
|
+
authType?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
|
|
142
|
+
*/
|
|
143
|
+
catalogIngestionEnabled?: pulumi.Input<boolean>;
|
|
144
|
+
/**
|
|
145
|
+
* The ID of the global connection this credential is associated with. Cannot be changed after creation.
|
|
146
|
+
*/
|
|
147
|
+
connectionId?: pulumi.Input<number>;
|
|
148
|
+
/**
|
|
149
|
+
* Whether cost insights is enabled for this credential.
|
|
150
|
+
*/
|
|
151
|
+
costInsightsEnabled?: pulumi.Input<boolean>;
|
|
152
|
+
/**
|
|
153
|
+
* Whether cost optimization data collection is enabled for this credential.
|
|
154
|
+
*/
|
|
155
|
+
costOptimizationEnabled?: pulumi.Input<boolean>;
|
|
156
|
+
/**
|
|
157
|
+
* The ID of the platform metadata credential.
|
|
158
|
+
*/
|
|
159
|
+
credentialId?: pulumi.Input<number>;
|
|
160
|
+
/**
|
|
161
|
+
* The password for password authentication. Required when auth*type is 'password'. Cannot be used with private*key or private*key*passphrase.
|
|
162
|
+
*/
|
|
163
|
+
password?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password.
|
|
166
|
+
*/
|
|
167
|
+
privateKey?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password.
|
|
170
|
+
*/
|
|
171
|
+
privateKeyPassphrase?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* The Snowflake role to use.
|
|
174
|
+
*/
|
|
175
|
+
role?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The Snowflake user name.
|
|
178
|
+
*/
|
|
179
|
+
user?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The Snowflake warehouse to use.
|
|
182
|
+
*/
|
|
183
|
+
warehouse?: pulumi.Input<string>;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* The set of arguments for constructing a SnowflakePlatformMetadataCredential resource.
|
|
187
|
+
*/
|
|
188
|
+
export interface SnowflakePlatformMetadataCredentialArgs {
|
|
189
|
+
/**
|
|
190
|
+
* The authentication type. Must be 'password' or 'keypair'.
|
|
191
|
+
*/
|
|
192
|
+
authType: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
|
|
195
|
+
*/
|
|
196
|
+
catalogIngestionEnabled?: pulumi.Input<boolean>;
|
|
197
|
+
/**
|
|
198
|
+
* The ID of the global connection this credential is associated with. Cannot be changed after creation.
|
|
199
|
+
*/
|
|
200
|
+
connectionId: pulumi.Input<number>;
|
|
201
|
+
/**
|
|
202
|
+
* Whether cost insights is enabled for this credential.
|
|
203
|
+
*/
|
|
204
|
+
costInsightsEnabled?: pulumi.Input<boolean>;
|
|
205
|
+
/**
|
|
206
|
+
* Whether cost optimization data collection is enabled for this credential.
|
|
207
|
+
*/
|
|
208
|
+
costOptimizationEnabled?: pulumi.Input<boolean>;
|
|
209
|
+
/**
|
|
210
|
+
* The password for password authentication. Required when auth*type is 'password'. Cannot be used with private*key or private*key*passphrase.
|
|
211
|
+
*/
|
|
212
|
+
password?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password.
|
|
215
|
+
*/
|
|
216
|
+
privateKey?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password.
|
|
219
|
+
*/
|
|
220
|
+
privateKeyPassphrase?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* The Snowflake role to use.
|
|
223
|
+
*/
|
|
224
|
+
role: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* The Snowflake user name.
|
|
227
|
+
*/
|
|
228
|
+
user: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* The Snowflake warehouse to use.
|
|
231
|
+
*/
|
|
232
|
+
warehouse: pulumi.Input<string>;
|
|
233
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.SnowflakePlatformMetadataCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages Snowflake platform metadata credentials for external metadata ingestion in dbt Cloud.
|
|
10
|
+
*
|
|
11
|
+
* This resource configures credentials that allow dbt Cloud to connect directly to your Snowflake warehouse
|
|
12
|
+
* to ingest metadata outside of normal dbt project runs. This enables features like:
|
|
13
|
+
*
|
|
14
|
+
* - **Catalog Ingestion**: Ingest metadata about tables/views not defined in dbt
|
|
15
|
+
* - **Cost Optimization**: Query warehouse cost and performance data
|
|
16
|
+
* - **Cost Insights**: Enhanced cost visibility and analysis
|
|
17
|
+
*
|
|
18
|
+
* > **Note:** At least one of `catalogIngestionEnabled`, `costOptimizationEnabled`, or
|
|
19
|
+
* `costInsightsEnabled` must be enabled for the credential to be usable.
|
|
20
|
+
*
|
|
21
|
+
* > **Note:** The `connectionId` cannot be changed after creation. To use a different connection,
|
|
22
|
+
* you must destroy and recreate the resource.
|
|
23
|
+
*
|
|
24
|
+
* ## Example Usage
|
|
25
|
+
*
|
|
26
|
+
* ```typescript
|
|
27
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
29
|
+
*
|
|
30
|
+
* // Example: Snowflake Platform Metadata Credential with password auth
|
|
31
|
+
* const passwordAuth = new dbtcloud.SnowflakePlatformMetadataCredential("password_auth", {
|
|
32
|
+
* connectionId: snowflake.id,
|
|
33
|
+
* catalogIngestionEnabled: true,
|
|
34
|
+
* costOptimizationEnabled: true,
|
|
35
|
+
* costInsightsEnabled: false,
|
|
36
|
+
* authType: "password",
|
|
37
|
+
* user: "METADATA_READER",
|
|
38
|
+
* password: snowflakePassword,
|
|
39
|
+
* role: "METADATA_READER_ROLE",
|
|
40
|
+
* warehouse: "METADATA_WH",
|
|
41
|
+
* });
|
|
42
|
+
* // Example: Snowflake Platform Metadata Credential with keypair auth
|
|
43
|
+
* const keypairAuth = new dbtcloud.SnowflakePlatformMetadataCredential("keypair_auth", {
|
|
44
|
+
* connectionId: snowflake.id,
|
|
45
|
+
* catalogIngestionEnabled: true,
|
|
46
|
+
* costOptimizationEnabled: false,
|
|
47
|
+
* costInsightsEnabled: false,
|
|
48
|
+
* authType: "keypair",
|
|
49
|
+
* user: "METADATA_READER",
|
|
50
|
+
* privateKey: snowflakePrivateKey,
|
|
51
|
+
* privateKeyPassphrase: snowflakePrivateKeyPassphrase,
|
|
52
|
+
* role: "METADATA_READER_ROLE",
|
|
53
|
+
* warehouse: "METADATA_WH",
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
class SnowflakePlatformMetadataCredential extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing SnowflakePlatformMetadataCredential resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name, id, state, opts) {
|
|
68
|
+
return new SnowflakePlatformMetadataCredential(name, state, { ...opts, id: id });
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Returns true if the given object is an instance of SnowflakePlatformMetadataCredential. This is designed to work even
|
|
72
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
73
|
+
*/
|
|
74
|
+
static isInstance(obj) {
|
|
75
|
+
if (obj === undefined || obj === null) {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
return obj['__pulumiType'] === SnowflakePlatformMetadataCredential.__pulumiType;
|
|
79
|
+
}
|
|
80
|
+
constructor(name, argsOrState, opts) {
|
|
81
|
+
let resourceInputs = {};
|
|
82
|
+
opts = opts || {};
|
|
83
|
+
if (opts.id) {
|
|
84
|
+
const state = argsOrState;
|
|
85
|
+
resourceInputs["adapterVersion"] = state?.adapterVersion;
|
|
86
|
+
resourceInputs["authType"] = state?.authType;
|
|
87
|
+
resourceInputs["catalogIngestionEnabled"] = state?.catalogIngestionEnabled;
|
|
88
|
+
resourceInputs["connectionId"] = state?.connectionId;
|
|
89
|
+
resourceInputs["costInsightsEnabled"] = state?.costInsightsEnabled;
|
|
90
|
+
resourceInputs["costOptimizationEnabled"] = state?.costOptimizationEnabled;
|
|
91
|
+
resourceInputs["credentialId"] = state?.credentialId;
|
|
92
|
+
resourceInputs["password"] = state?.password;
|
|
93
|
+
resourceInputs["privateKey"] = state?.privateKey;
|
|
94
|
+
resourceInputs["privateKeyPassphrase"] = state?.privateKeyPassphrase;
|
|
95
|
+
resourceInputs["role"] = state?.role;
|
|
96
|
+
resourceInputs["user"] = state?.user;
|
|
97
|
+
resourceInputs["warehouse"] = state?.warehouse;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
const args = argsOrState;
|
|
101
|
+
if (args?.authType === undefined && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'authType'");
|
|
103
|
+
}
|
|
104
|
+
if (args?.connectionId === undefined && !opts.urn) {
|
|
105
|
+
throw new Error("Missing required property 'connectionId'");
|
|
106
|
+
}
|
|
107
|
+
if (args?.role === undefined && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'role'");
|
|
109
|
+
}
|
|
110
|
+
if (args?.user === undefined && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'user'");
|
|
112
|
+
}
|
|
113
|
+
if (args?.warehouse === undefined && !opts.urn) {
|
|
114
|
+
throw new Error("Missing required property 'warehouse'");
|
|
115
|
+
}
|
|
116
|
+
resourceInputs["authType"] = args?.authType;
|
|
117
|
+
resourceInputs["catalogIngestionEnabled"] = args?.catalogIngestionEnabled;
|
|
118
|
+
resourceInputs["connectionId"] = args?.connectionId;
|
|
119
|
+
resourceInputs["costInsightsEnabled"] = args?.costInsightsEnabled;
|
|
120
|
+
resourceInputs["costOptimizationEnabled"] = args?.costOptimizationEnabled;
|
|
121
|
+
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
122
|
+
resourceInputs["privateKey"] = args?.privateKey ? pulumi.secret(args.privateKey) : undefined;
|
|
123
|
+
resourceInputs["privateKeyPassphrase"] = args?.privateKeyPassphrase ? pulumi.secret(args.privateKeyPassphrase) : undefined;
|
|
124
|
+
resourceInputs["role"] = args?.role;
|
|
125
|
+
resourceInputs["user"] = args?.user;
|
|
126
|
+
resourceInputs["warehouse"] = args?.warehouse;
|
|
127
|
+
resourceInputs["adapterVersion"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["credentialId"] = undefined /*out*/;
|
|
129
|
+
}
|
|
130
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
131
|
+
const secretOpts = { additionalSecretOutputs: ["password", "privateKey", "privateKeyPassphrase"] };
|
|
132
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
133
|
+
super(SnowflakePlatformMetadataCredential.__pulumiType, name, resourceInputs, opts);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.SnowflakePlatformMetadataCredential = SnowflakePlatformMetadataCredential;
|
|
137
|
+
/** @internal */
|
|
138
|
+
SnowflakePlatformMetadataCredential.__pulumiType = 'dbtcloud:index/snowflakePlatformMetadataCredential:SnowflakePlatformMetadataCredential';
|
|
139
|
+
//# sourceMappingURL=snowflakePlatformMetadataCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snowflakePlatformMetadataCredential.js","sourceRoot":"","sources":["../snowflakePlatformMetadataCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1F,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,mCAAmC,CAAC,YAAY,CAAC;IACpF,CAAC;IA+DD,YAAY,IAAY,EAAE,WAAgG,EAAE,IAAmC;QAC3J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmE,CAAC;YAClF,cAAc,CAAC,gBAAgB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AE,SAAS,CAAC;YAC9C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,sBAAsB,CAAC,EAAE,CAAC;QACnG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AA9IL,kFA+IC;AAjIG,gBAAgB;AACO,gDAAY,GAAG,wFAAwF,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -724,6 +724,12 @@ export interface IpRestrictionsRuleCidr {
|
|
|
724
724
|
*/
|
|
725
725
|
ipRestrictionRuleId?: pulumi.Input<number>;
|
|
726
726
|
}
|
|
727
|
+
export interface JobExecution {
|
|
728
|
+
/**
|
|
729
|
+
* The number of seconds before the job times out
|
|
730
|
+
*/
|
|
731
|
+
timeoutSeconds?: pulumi.Input<number>;
|
|
732
|
+
}
|
|
727
733
|
export interface JobJobCompletionTriggerCondition {
|
|
728
734
|
/**
|
|
729
735
|
* The ID of the job that would trigger this job after completion.
|
package/types/output.d.ts
CHANGED
|
@@ -1579,6 +1579,12 @@ export interface IpRestrictionsRuleCidr {
|
|
|
1579
1579
|
*/
|
|
1580
1580
|
ipRestrictionRuleId: number;
|
|
1581
1581
|
}
|
|
1582
|
+
export interface JobExecution {
|
|
1583
|
+
/**
|
|
1584
|
+
* The number of seconds before the job times out
|
|
1585
|
+
*/
|
|
1586
|
+
timeoutSeconds: number;
|
|
1587
|
+
}
|
|
1582
1588
|
export interface JobJobCompletionTriggerCondition {
|
|
1583
1589
|
/**
|
|
1584
1590
|
* The ID of the job that would trigger this job after completion.
|