@pulumi/dbtcloud 1.5.0-alpha.1768282419 → 1.5.0-alpha.1768455213

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.
@@ -13,6 +13,14 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  * dataset: "my_bq_dataset",
14
14
  * numThreads: 16,
15
15
  * });
16
+ * // When using a global connection with use_latest_adapter = true,
17
+ * // provide the connection_id to automatically use the correct adapter version
18
+ * const myCredentialV1 = new dbtcloud.BigQueryCredential("my_credential_v1", {
19
+ * projectId: dbtProject.id,
20
+ * dataset: "my_bq_dataset",
21
+ * numThreads: 16,
22
+ * connectionId: myConnection.id,
23
+ * });
16
24
  * ```
17
25
  *
18
26
  * ## Import
@@ -61,6 +69,10 @@ export declare class BigQueryCredential extends pulumi.CustomResource {
61
69
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
70
  */
63
71
  static isInstance(obj: any): obj is BigQueryCredential;
72
+ /**
73
+ * The ID of the global connection to use for this credential. When provided, the credential will automatically use the correct adapter version based on the connection's configuration (e.g., bigquery*v1 for connections with use*latest_adapter=true).
74
+ */
75
+ readonly connectionId: pulumi.Output<number | undefined>;
64
76
  /**
65
77
  * The internal credential ID
66
78
  */
@@ -94,6 +106,10 @@ export declare class BigQueryCredential extends pulumi.CustomResource {
94
106
  * Input properties used for looking up and filtering BigQueryCredential resources.
95
107
  */
96
108
  export interface BigQueryCredentialState {
109
+ /**
110
+ * The ID of the global connection to use for this credential. When provided, the credential will automatically use the correct adapter version based on the connection's configuration (e.g., bigquery*v1 for connections with use*latest_adapter=true).
111
+ */
112
+ connectionId?: pulumi.Input<number>;
97
113
  /**
98
114
  * The internal credential ID
99
115
  */
@@ -119,6 +135,10 @@ export interface BigQueryCredentialState {
119
135
  * The set of arguments for constructing a BigQueryCredential resource.
120
136
  */
121
137
  export interface BigQueryCredentialArgs {
138
+ /**
139
+ * The ID of the global connection to use for this credential. When provided, the credential will automatically use the correct adapter version based on the connection's configuration (e.g., bigquery*v1 for connections with use*latest_adapter=true).
140
+ */
141
+ connectionId?: pulumi.Input<number>;
122
142
  /**
123
143
  * Default dataset name
124
144
  */
@@ -19,6 +19,14 @@ const utilities = require("./utilities");
19
19
  * dataset: "my_bq_dataset",
20
20
  * numThreads: 16,
21
21
  * });
22
+ * // When using a global connection with use_latest_adapter = true,
23
+ * // provide the connection_id to automatically use the correct adapter version
24
+ * const myCredentialV1 = new dbtcloud.BigQueryCredential("my_credential_v1", {
25
+ * projectId: dbtProject.id,
26
+ * dataset: "my_bq_dataset",
27
+ * numThreads: 16,
28
+ * connectionId: myConnection.id,
29
+ * });
22
30
  * ```
23
31
  *
24
32
  * ## Import
@@ -79,6 +87,7 @@ class BigQueryCredential extends pulumi.CustomResource {
79
87
  opts = opts || {};
80
88
  if (opts.id) {
81
89
  const state = argsOrState;
90
+ resourceInputs["connectionId"] = state?.connectionId;
82
91
  resourceInputs["credentialId"] = state?.credentialId;
83
92
  resourceInputs["dataset"] = state?.dataset;
84
93
  resourceInputs["isActive"] = state?.isActive;
@@ -96,6 +105,7 @@ class BigQueryCredential extends pulumi.CustomResource {
96
105
  if (args?.projectId === undefined && !opts.urn) {
97
106
  throw new Error("Missing required property 'projectId'");
98
107
  }
108
+ resourceInputs["connectionId"] = args?.connectionId;
99
109
  resourceInputs["dataset"] = args?.dataset;
100
110
  resourceInputs["isActive"] = args?.isActive;
101
111
  resourceInputs["numThreads"] = args?.numThreads;
@@ -1 +1 @@
1
- {"version":3,"file":"bigQueryCredential.js","sourceRoot":"","sources":["../bigQueryCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,E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,YAAY,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,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,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA5FL,gDA6FC;AA/EG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
@@ -31,6 +31,7 @@ import * as outputs from "./types/output";
31
31
  * s3DataDir: "s3://my-bucket/my-data-dir/",
32
32
  * },
33
33
  * });
34
+ * // BigQuery connection with Service Account JSON authentication
34
35
  * const bigquery = new dbtcloud.GlobalConnection("bigquery", {
35
36
  * name: "My BigQuery connection",
36
37
  * bigquery: {
@@ -44,8 +45,26 @@ import * as outputs from "./types/output";
44
45
  * tokenUri: "my_token_uri",
45
46
  * authProviderX509CertUrl: "my_auth_provider_x509_cert_url",
46
47
  * clientX509CertUrl: "my_client_x509_cert_url",
48
+ * deploymentEnvAuthType: "service-account-json",
49
+ * },
50
+ * });
51
+ * // BigQuery connection with External OAuth (Workload Identity Federation)
52
+ * // TODO: Currently the API still requires service account fields even with external-oauth-wif
53
+ * const bigqueryWif = new dbtcloud.GlobalConnection("bigquery_wif", {
54
+ * name: "My BigQuery WIF connection",
55
+ * bigquery: {
56
+ * gcpProjectId: "my-gcp-project-id",
47
57
  * applicationId: "oauth_application_id",
48
58
  * applicationSecret: "oauth_secret_id",
59
+ * deploymentEnvAuthType: "external-oauth-wif",
60
+ * privateKeyId: "my-private-key-id",
61
+ * privateKey: "ABCDEFGHIJKL",
62
+ * clientEmail: "my_client_email",
63
+ * clientId: "my_client_id",
64
+ * authUri: "my_auth_uri",
65
+ * tokenUri: "my_token_uri",
66
+ * authProviderX509CertUrl: "my_auth_provider_x509_cert_url",
67
+ * clientX509CertUrl: "my_client_x509_cert_url",
49
68
  * },
50
69
  * });
51
70
  * const databricks = new dbtcloud.GlobalConnection("databricks", {
@@ -35,6 +35,7 @@ const utilities = require("./utilities");
35
35
  * s3DataDir: "s3://my-bucket/my-data-dir/",
36
36
  * },
37
37
  * });
38
+ * // BigQuery connection with Service Account JSON authentication
38
39
  * const bigquery = new dbtcloud.GlobalConnection("bigquery", {
39
40
  * name: "My BigQuery connection",
40
41
  * bigquery: {
@@ -48,8 +49,26 @@ const utilities = require("./utilities");
48
49
  * tokenUri: "my_token_uri",
49
50
  * authProviderX509CertUrl: "my_auth_provider_x509_cert_url",
50
51
  * clientX509CertUrl: "my_client_x509_cert_url",
52
+ * deploymentEnvAuthType: "service-account-json",
53
+ * },
54
+ * });
55
+ * // BigQuery connection with External OAuth (Workload Identity Federation)
56
+ * // TODO: Currently the API still requires service account fields even with external-oauth-wif
57
+ * const bigqueryWif = new dbtcloud.GlobalConnection("bigquery_wif", {
58
+ * name: "My BigQuery WIF connection",
59
+ * bigquery: {
60
+ * gcpProjectId: "my-gcp-project-id",
51
61
  * applicationId: "oauth_application_id",
52
62
  * applicationSecret: "oauth_secret_id",
63
+ * deploymentEnvAuthType: "external-oauth-wif",
64
+ * privateKeyId: "my-private-key-id",
65
+ * privateKey: "ABCDEFGHIJKL",
66
+ * clientEmail: "my_client_email",
67
+ * clientId: "my_client_id",
68
+ * authUri: "my_auth_uri",
69
+ * tokenUri: "my_token_uri",
70
+ * authProviderX509CertUrl: "my_auth_provider_x509_cert_url",
71
+ * clientX509CertUrl: "my_client_x509_cert_url",
53
72
  * },
54
73
  * });
55
74
  * const databricks = new dbtcloud.GlobalConnection("databricks", {
@@ -1 +1 @@
1
- {"version":3,"file":"globalConnection.js","sourceRoot":"","sources":["../globalConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsKG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAwED,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,G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9C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA5IL,4CA6IC;AA/HG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/dbtcloud",
3
- "version": "1.5.0-alpha.1768282419",
3
+ "version": "1.5.0-alpha.1768455213",
4
4
  "description": "A Pulumi package for creating and managing dbt Cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -26,7 +26,7 @@
26
26
  "pulumi": {
27
27
  "resource": true,
28
28
  "name": "dbtcloud",
29
- "version": "1.5.0-alpha.1768282419",
29
+ "version": "1.5.0-alpha.1768455213",
30
30
  "server": "github://api.github.com/pulumi/pulumi-dbtcloud"
31
31
  }
32
32
  }
package/types/input.d.ts CHANGED
@@ -15,6 +15,10 @@ export interface BigquerySemanticLayerCredentialConfiguration {
15
15
  projectId: pulumi.Input<number>;
16
16
  }
17
17
  export interface BigquerySemanticLayerCredentialCredential {
18
+ /**
19
+ * The ID of the global connection to use for this credential. When provided, the credential will automatically use the correct adapter version based on the connection's configuration (e.g., bigquery*v1 for connections with use*latest_adapter=true).
20
+ */
21
+ connectionId?: pulumi.Input<number>;
18
22
  /**
19
23
  * The internal credential ID
20
24
  */
@@ -326,33 +330,33 @@ export interface GlobalConnectionAthena {
326
330
  }
327
331
  export interface GlobalConnectionBigquery {
328
332
  /**
329
- * OAuth Client ID
333
+ * OAuth Client ID. Required when using 'external-oauth-wif' authentication.
330
334
  */
331
335
  applicationId?: pulumi.Input<string>;
332
336
  /**
333
- * OAuth Client Secret
337
+ * OAuth Client Secret. Required when using 'external-oauth-wif' authentication.
334
338
  */
335
339
  applicationSecret?: pulumi.Input<string>;
336
340
  /**
337
- * Auth Provider X509 Cert URL for the Service Account
341
+ * Auth Provider X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
338
342
  */
339
- authProviderX509CertUrl: pulumi.Input<string>;
343
+ authProviderX509CertUrl?: pulumi.Input<string>;
340
344
  /**
341
- * Auth URI for the Service Account
345
+ * Auth URI for the Service Account. Required when using 'service-account-json' authentication.
342
346
  */
343
- authUri: pulumi.Input<string>;
347
+ authUri?: pulumi.Input<string>;
344
348
  /**
345
- * Service Account email
349
+ * Service Account email. Required when using 'service-account-json' authentication.
346
350
  */
347
- clientEmail: pulumi.Input<string>;
351
+ clientEmail?: pulumi.Input<string>;
348
352
  /**
349
- * Client ID of the Service Account
353
+ * Client ID of the Service Account. Required when using 'service-account-json' authentication.
350
354
  */
351
- clientId: pulumi.Input<string>;
355
+ clientId?: pulumi.Input<string>;
352
356
  /**
353
- * Client X509 Cert URL for the Service Account
357
+ * Client X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
354
358
  */
355
- clientX509CertUrl: pulumi.Input<string>;
359
+ clientX509CertUrl?: pulumi.Input<string>;
356
360
  /**
357
361
  * Dataproc cluster name for PySpark workloads
358
362
  */
@@ -361,6 +365,10 @@ export interface GlobalConnectionBigquery {
361
365
  * Google Cloud region for PySpark workloads on Dataproc
362
366
  */
363
367
  dataprocRegion?: pulumi.Input<string>;
368
+ /**
369
+ * Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'. Defaults to 'service-account-json'.
370
+ */
371
+ deploymentEnvAuthType?: pulumi.Input<string>;
364
372
  /**
365
373
  * Project to bill for query execution
366
374
  */
@@ -402,13 +410,13 @@ export interface GlobalConnectionBigquery {
402
410
  */
403
411
  priority?: pulumi.Input<string>;
404
412
  /**
405
- * Private Key for the Service Account
413
+ * Private Key for the Service Account. Required when using 'service-account-json' authentication.
406
414
  */
407
- privateKey: pulumi.Input<string>;
415
+ privateKey?: pulumi.Input<string>;
408
416
  /**
409
- * Private Key ID for the Service Account
417
+ * Private Key ID for the Service Account. Required when using 'service-account-json' authentication.
410
418
  */
411
- privateKeyId: pulumi.Input<string>;
419
+ privateKeyId?: pulumi.Input<string>;
412
420
  /**
413
421
  * Number of retries for queries
414
422
  */
@@ -422,9 +430,9 @@ export interface GlobalConnectionBigquery {
422
430
  */
423
431
  timeoutSeconds?: pulumi.Input<number>;
424
432
  /**
425
- * Token URI for the Service Account
433
+ * Token URI for the Service Account. Required when using 'service-account-json' authentication.
426
434
  */
427
- tokenUri: pulumi.Input<string>;
435
+ tokenUri?: pulumi.Input<string>;
428
436
  /**
429
437
  * Whether to use the latest bigqueryV1 adapter (use this for BQ WIF). If true, the `jobExecutionTimeoutSeconds` field will be used. Warning! changing the adapter version (from legacy to latest or vice versa) is not supported.
430
438
  */
package/types/output.d.ts CHANGED
@@ -14,6 +14,10 @@ export interface BigquerySemanticLayerCredentialConfiguration {
14
14
  projectId: number;
15
15
  }
16
16
  export interface BigquerySemanticLayerCredentialCredential {
17
+ /**
18
+ * The ID of the global connection to use for this credential. When provided, the credential will automatically use the correct adapter version based on the connection's configuration (e.g., bigquery*v1 for connections with use*latest_adapter=true).
19
+ */
20
+ connectionId?: number;
17
21
  /**
18
22
  * The internal credential ID
19
23
  */
@@ -270,6 +274,10 @@ export interface GetGlobalConnectionBigquery {
270
274
  * Google Cloud region for PySpark workloads on Dataproc
271
275
  */
272
276
  dataprocRegion: string;
277
+ /**
278
+ * Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'.
279
+ */
280
+ deploymentEnvAuthType: string;
273
281
  /**
274
282
  * Project to bill for query execution
275
283
  */
@@ -1177,33 +1185,33 @@ export interface GlobalConnectionAthena {
1177
1185
  }
1178
1186
  export interface GlobalConnectionBigquery {
1179
1187
  /**
1180
- * OAuth Client ID
1188
+ * OAuth Client ID. Required when using 'external-oauth-wif' authentication.
1181
1189
  */
1182
1190
  applicationId?: string;
1183
1191
  /**
1184
- * OAuth Client Secret
1192
+ * OAuth Client Secret. Required when using 'external-oauth-wif' authentication.
1185
1193
  */
1186
1194
  applicationSecret?: string;
1187
1195
  /**
1188
- * Auth Provider X509 Cert URL for the Service Account
1196
+ * Auth Provider X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
1189
1197
  */
1190
- authProviderX509CertUrl: string;
1198
+ authProviderX509CertUrl?: string;
1191
1199
  /**
1192
- * Auth URI for the Service Account
1200
+ * Auth URI for the Service Account. Required when using 'service-account-json' authentication.
1193
1201
  */
1194
- authUri: string;
1202
+ authUri?: string;
1195
1203
  /**
1196
- * Service Account email
1204
+ * Service Account email. Required when using 'service-account-json' authentication.
1197
1205
  */
1198
- clientEmail: string;
1206
+ clientEmail?: string;
1199
1207
  /**
1200
- * Client ID of the Service Account
1208
+ * Client ID of the Service Account. Required when using 'service-account-json' authentication.
1201
1209
  */
1202
- clientId: string;
1210
+ clientId?: string;
1203
1211
  /**
1204
- * Client X509 Cert URL for the Service Account
1212
+ * Client X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
1205
1213
  */
1206
- clientX509CertUrl: string;
1214
+ clientX509CertUrl?: string;
1207
1215
  /**
1208
1216
  * Dataproc cluster name for PySpark workloads
1209
1217
  */
@@ -1212,6 +1220,10 @@ export interface GlobalConnectionBigquery {
1212
1220
  * Google Cloud region for PySpark workloads on Dataproc
1213
1221
  */
1214
1222
  dataprocRegion?: string;
1223
+ /**
1224
+ * Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'. Defaults to 'service-account-json'.
1225
+ */
1226
+ deploymentEnvAuthType: string;
1215
1227
  /**
1216
1228
  * Project to bill for query execution
1217
1229
  */
@@ -1253,13 +1265,13 @@ export interface GlobalConnectionBigquery {
1253
1265
  */
1254
1266
  priority?: string;
1255
1267
  /**
1256
- * Private Key for the Service Account
1268
+ * Private Key for the Service Account. Required when using 'service-account-json' authentication.
1257
1269
  */
1258
- privateKey: string;
1270
+ privateKey?: string;
1259
1271
  /**
1260
- * Private Key ID for the Service Account
1272
+ * Private Key ID for the Service Account. Required when using 'service-account-json' authentication.
1261
1273
  */
1262
- privateKeyId: string;
1274
+ privateKeyId?: string;
1263
1275
  /**
1264
1276
  * Number of retries for queries
1265
1277
  */
@@ -1273,9 +1285,9 @@ export interface GlobalConnectionBigquery {
1273
1285
  */
1274
1286
  timeoutSeconds: number;
1275
1287
  /**
1276
- * Token URI for the Service Account
1288
+ * Token URI for the Service Account. Required when using 'service-account-json' authentication.
1277
1289
  */
1278
- tokenUri: string;
1290
+ tokenUri?: string;
1279
1291
  /**
1280
1292
  * Whether to use the latest bigqueryV1 adapter (use this for BQ WIF). If true, the `jobExecutionTimeoutSeconds` field will be used. Warning! changing the adapter version (from legacy to latest or vice versa) is not supported.
1281
1293
  */