@pulumi/dbtcloud 0.2.0-alpha.1724909482 → 0.2.0-alpha.1725644297
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/bigQueryConnection.d.ts +1 -1
- package/bigQueryConnection.js +1 -1
- package/connection.d.ts +2 -3
- package/connection.js +2 -3
- package/connection.js.map +1 -1
- package/fabricConnection.d.ts +3 -1
- package/fabricConnection.js +3 -1
- package/fabricConnection.js.map +1 -1
- package/getGlobalConnection.d.ts +109 -0
- package/getGlobalConnection.js +43 -0
- package/getGlobalConnection.js.map +1 -0
- package/getGlobalConnections.d.ts +41 -0
- package/getGlobalConnections.js +41 -0
- package/getGlobalConnections.js.map +1 -0
- package/getProjects.d.ts +45 -0
- package/getProjects.js +26 -0
- package/getProjects.js.map +1 -0
- package/globalConnection.d.ts +86 -3
- package/globalConnection.js +16 -3
- package/globalConnection.js.map +1 -1
- package/index.d.ts +9 -0
- package/index.js +11 -2
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/repository.d.ts +12 -0
- package/repository.js +2 -0
- package/repository.js.map +1 -1
- package/types/input.d.ts +235 -0
- package/types/output.d.ts +720 -0
package/bigQueryConnection.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Resource to create BigQuery connections in dbt Cloud. Can be set to use OAuth for developers.
|
|
4
4
|
*
|
|
5
|
-
* > This resource is going to be
|
|
5
|
+
* > This resource is deprecated and is going to be removed in the next major release, please use the `dbtcloud.GlobalConnection` resource instead to create BigQuery connections.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
package/bigQueryConnection.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Resource to create BigQuery connections in dbt Cloud. Can be set to use OAuth for developers.
|
|
10
10
|
*
|
|
11
|
-
* > This resource is going to be
|
|
11
|
+
* > This resource is deprecated and is going to be removed in the next major release, please use the `dbtcloud.GlobalConnection` resource instead to create BigQuery connections.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
package/connection.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Resource to create a Data Warehouse connection in dbt Cloud.
|
|
4
4
|
*
|
|
5
|
-
* This resource
|
|
6
|
-
* For BigQuery, due to the list of fields being very different, you can use the `dbtcloud.BigQueryConnection` resource.
|
|
5
|
+
* > This resource is deprecated and is going to be removed in the next major release, please use the `dbtcloud.GlobalConnection` resource instead to create connections.
|
|
7
6
|
*
|
|
8
7
|
* ## Example Usage
|
|
9
8
|
*
|
package/connection.js
CHANGED
|
@@ -6,10 +6,9 @@ exports.Connection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Resource to create a Data Warehouse connection in dbt Cloud.
|
|
10
10
|
*
|
|
11
|
-
* This resource
|
|
12
|
-
* For BigQuery, due to the list of fields being very different, you can use the `dbtcloud.BigQueryConnection` resource.
|
|
11
|
+
* > This resource is deprecated and is going to be removed in the next major release, please use the `dbtcloud.GlobalConnection` resource instead to create connections.
|
|
13
12
|
*
|
|
14
13
|
* ## Example Usage
|
|
15
14
|
*
|
package/connection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCA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C,SAAS,CAAC;YACxF,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAhLL,gCAiLC;AAnKG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
package/fabricConnection.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Resource to create
|
|
3
|
+
* Resource to create a MS Fabric connection in dbt Cloud.
|
|
4
|
+
*
|
|
5
|
+
* > This resource is deprecated and is going to be removed in the next major release, please use the `dbtcloud.GlobalConnection` resource instead to create any DW connection.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
package/fabricConnection.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.FabricConnection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Resource to create
|
|
9
|
+
* Resource to create a MS Fabric connection in dbt Cloud.
|
|
10
|
+
*
|
|
11
|
+
* > This resource is deprecated and is going to be removed in the next major release, please use the `dbtcloud.GlobalConnection` resource instead to create any DW connection.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
package/fabricConnection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fabricConnection.js","sourceRoot":"","sources":["../fabricConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"fabricConnection.js","sourceRoot":"","sources":["../fabricConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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,CAA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C,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAvHL,4CAwHC;AA1GG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
9
|
+
*
|
|
10
|
+
* const myConnection = dbtcloud.getGlobalConnection({
|
|
11
|
+
* id: 1234,
|
|
12
|
+
* });
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function getGlobalConnection(args: GetGlobalConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetGlobalConnectionResult>;
|
|
16
|
+
/**
|
|
17
|
+
* A collection of arguments for invoking getGlobalConnection.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetGlobalConnectionArgs {
|
|
20
|
+
/**
|
|
21
|
+
* Connection Identifier
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A collection of values returned by getGlobalConnection.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetGlobalConnectionResult {
|
|
29
|
+
/**
|
|
30
|
+
* Version of the adapter
|
|
31
|
+
*/
|
|
32
|
+
readonly adapterVersion: string;
|
|
33
|
+
/**
|
|
34
|
+
* Apache Spark connection configuration.
|
|
35
|
+
*/
|
|
36
|
+
readonly apacheSpark: outputs.GetGlobalConnectionApacheSpark;
|
|
37
|
+
/**
|
|
38
|
+
* Athena connection configuration.
|
|
39
|
+
*/
|
|
40
|
+
readonly athena: outputs.GetGlobalConnectionAthena;
|
|
41
|
+
readonly bigquery: outputs.GetGlobalConnectionBigquery;
|
|
42
|
+
/**
|
|
43
|
+
* Databricks connection configuration
|
|
44
|
+
*/
|
|
45
|
+
readonly databricks: outputs.GetGlobalConnectionDatabricks;
|
|
46
|
+
/**
|
|
47
|
+
* Microsoft Fabric connection configuration.
|
|
48
|
+
*/
|
|
49
|
+
readonly fabric: outputs.GetGlobalConnectionFabric;
|
|
50
|
+
/**
|
|
51
|
+
* Connection Identifier
|
|
52
|
+
*/
|
|
53
|
+
readonly id: number;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the connection can use an SSH tunnel
|
|
56
|
+
*/
|
|
57
|
+
readonly isSshTunnelEnabled: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Connection name
|
|
60
|
+
*/
|
|
61
|
+
readonly name: string;
|
|
62
|
+
readonly oauthConfigurationId: number;
|
|
63
|
+
/**
|
|
64
|
+
* PostgreSQL connection configuration.
|
|
65
|
+
*/
|
|
66
|
+
readonly postgres: outputs.GetGlobalConnectionPostgres;
|
|
67
|
+
/**
|
|
68
|
+
* Private Link Endpoint ID. This ID can be found using the `privatelinkEndpoint` data source
|
|
69
|
+
*/
|
|
70
|
+
readonly privateLinkEndpointId: string;
|
|
71
|
+
/**
|
|
72
|
+
* Redshift connection configuration
|
|
73
|
+
*/
|
|
74
|
+
readonly redshift: outputs.GetGlobalConnectionRedshift;
|
|
75
|
+
/**
|
|
76
|
+
* Snowflake connection configuration
|
|
77
|
+
*/
|
|
78
|
+
readonly snowflake: outputs.GetGlobalConnectionSnowflake;
|
|
79
|
+
/**
|
|
80
|
+
* Starburst/Trino connection configuration.
|
|
81
|
+
*/
|
|
82
|
+
readonly starburst: outputs.GetGlobalConnectionStarburst;
|
|
83
|
+
/**
|
|
84
|
+
* Azure Synapse Analytics connection configuration.
|
|
85
|
+
*/
|
|
86
|
+
readonly synapse: outputs.GetGlobalConnectionSynapse;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* ## Example Usage
|
|
90
|
+
*
|
|
91
|
+
* ```typescript
|
|
92
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
93
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
94
|
+
*
|
|
95
|
+
* const myConnection = dbtcloud.getGlobalConnection({
|
|
96
|
+
* id: 1234,
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
export declare function getGlobalConnectionOutput(args: GetGlobalConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGlobalConnectionResult>;
|
|
101
|
+
/**
|
|
102
|
+
* A collection of arguments for invoking getGlobalConnection.
|
|
103
|
+
*/
|
|
104
|
+
export interface GetGlobalConnectionOutputArgs {
|
|
105
|
+
/**
|
|
106
|
+
* Connection Identifier
|
|
107
|
+
*/
|
|
108
|
+
id: pulumi.Input<number>;
|
|
109
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getGlobalConnectionOutput = exports.getGlobalConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
14
|
+
*
|
|
15
|
+
* const myConnection = dbtcloud.getGlobalConnection({
|
|
16
|
+
* id: 1234,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getGlobalConnection(args, opts) {
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("dbtcloud:index/getGlobalConnection:getGlobalConnection", {
|
|
23
|
+
"id": args.id,
|
|
24
|
+
}, opts);
|
|
25
|
+
}
|
|
26
|
+
exports.getGlobalConnection = getGlobalConnection;
|
|
27
|
+
/**
|
|
28
|
+
* ## Example Usage
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
33
|
+
*
|
|
34
|
+
* const myConnection = dbtcloud.getGlobalConnection({
|
|
35
|
+
* id: 1234,
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
function getGlobalConnectionOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply((a) => getGlobalConnection(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getGlobalConnectionOutput = getGlobalConnectionOutput;
|
|
43
|
+
//# sourceMappingURL=getGlobalConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGlobalConnection.js","sourceRoot":"","sources":["../getGlobalConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AA2ED;;;;;;;;;;;GAWG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
11
|
+
*
|
|
12
|
+
* const myConnections = dbtcloud.getGlobalConnections({});
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function getGlobalConnections(opts?: pulumi.InvokeOptions): Promise<GetGlobalConnectionsResult>;
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getGlobalConnections.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetGlobalConnectionsResult {
|
|
20
|
+
/**
|
|
21
|
+
* A set of all the connections
|
|
22
|
+
*/
|
|
23
|
+
readonly connections: outputs.GetGlobalConnectionsConnection[];
|
|
24
|
+
/**
|
|
25
|
+
* The provider-assigned unique ID for this managed resource.
|
|
26
|
+
*/
|
|
27
|
+
readonly id: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
37
|
+
*
|
|
38
|
+
* const myConnections = dbtcloud.getGlobalConnections({});
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function getGlobalConnectionsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetGlobalConnectionsResult>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getGlobalConnectionsOutput = exports.getGlobalConnections = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
16
|
+
*
|
|
17
|
+
* const myConnections = dbtcloud.getGlobalConnections({});
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getGlobalConnections(opts) {
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("dbtcloud:index/getGlobalConnections:getGlobalConnections", {}, opts);
|
|
23
|
+
}
|
|
24
|
+
exports.getGlobalConnections = getGlobalConnections;
|
|
25
|
+
/**
|
|
26
|
+
* All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
|
|
27
|
+
*
|
|
28
|
+
* ## Example Usage
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
33
|
+
*
|
|
34
|
+
* const myConnections = dbtcloud.getGlobalConnections({});
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
function getGlobalConnectionsOutput(opts) {
|
|
38
|
+
return pulumi.output(getGlobalConnections(opts));
|
|
39
|
+
}
|
|
40
|
+
exports.getGlobalConnectionsOutput = getGlobalConnectionsOutput;
|
|
41
|
+
//# sourceMappingURL=getGlobalConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGlobalConnections.js","sourceRoot":"","sources":["../getGlobalConnections.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAE5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE,EACxF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAeD;;;;;;;;;;;GAWG;AACH,SAAgB,0BAA0B,CAAC,IAA2B;IAClE,OAAO,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAA;AACpD,CAAC;AAFD,gEAEC"}
|
package/getProjects.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getProjects(args?: GetProjectsArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectsResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getProjects.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetProjectsArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Used to filter projects by name, Optional
|
|
13
|
+
*/
|
|
14
|
+
nameContains?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getProjects.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetProjectsResult {
|
|
20
|
+
/**
|
|
21
|
+
* The provider-assigned unique ID for this managed resource.
|
|
22
|
+
*/
|
|
23
|
+
readonly id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Used to filter projects by name, Optional
|
|
26
|
+
*/
|
|
27
|
+
readonly nameContains: string;
|
|
28
|
+
/**
|
|
29
|
+
* Set of projects with their details
|
|
30
|
+
*/
|
|
31
|
+
readonly projects: outputs.GetProjectsProject[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
|
|
35
|
+
*/
|
|
36
|
+
export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectsResult>;
|
|
37
|
+
/**
|
|
38
|
+
* A collection of arguments for invoking getProjects.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetProjectsOutputArgs {
|
|
41
|
+
/**
|
|
42
|
+
* Used to filter projects by name, Optional
|
|
43
|
+
*/
|
|
44
|
+
nameContains?: pulumi.Input<string>;
|
|
45
|
+
}
|
package/getProjects.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getProjectsOutput = exports.getProjects = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
|
|
10
|
+
*/
|
|
11
|
+
function getProjects(args, opts) {
|
|
12
|
+
args = args || {};
|
|
13
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
|
+
return pulumi.runtime.invoke("dbtcloud:index/getProjects:getProjects", {
|
|
15
|
+
"nameContains": args.nameContains,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getProjects = getProjects;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
|
|
21
|
+
*/
|
|
22
|
+
function getProjectsOutput(args, opts) {
|
|
23
|
+
return pulumi.output(args).apply((a) => getProjects(a, opts));
|
|
24
|
+
}
|
|
25
|
+
exports.getProjectsOutput = getProjectsOutput;
|
|
26
|
+
//# sourceMappingURL=getProjects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AA6BD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/globalConnection.d.ts
CHANGED
|
@@ -4,10 +4,9 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* This resource can be used to create global connections as introduced in dbt Cloud in August 2024.
|
|
6
6
|
*
|
|
7
|
-
* Those connections are not linked to a project and can be linked to environments from different projects by using the `connectionId` field in the `dbtcloud.Environment` resource.
|
|
7
|
+
* Those connections are not linked to a specific project and can be linked to environments from different projects by using the `connectionId` field in the `dbtcloud.Environment` resource.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
* but all Data Warehouses will soon be supported under this resource and the other ones will be deprecated in the future.
|
|
9
|
+
* All connections types are supported, and the old resources `dbtcloud.Connection`, `dbtcloud.BigQueryConnection` and `dbtcloud.FabricConnection` are now flagged as deprecated and will be removed from the next major version of the provider.
|
|
11
10
|
*
|
|
12
11
|
* ## Import
|
|
13
12
|
*
|
|
@@ -69,11 +68,23 @@ export declare class GlobalConnection extends pulumi.CustomResource {
|
|
|
69
68
|
* Version of the adapter
|
|
70
69
|
*/
|
|
71
70
|
readonly adapterVersion: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Apache Spark connection configuration.
|
|
73
|
+
*/
|
|
74
|
+
readonly apacheSpark: pulumi.Output<outputs.GlobalConnectionApacheSpark | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Athena connection configuration.
|
|
77
|
+
*/
|
|
78
|
+
readonly athena: pulumi.Output<outputs.GlobalConnectionAthena | undefined>;
|
|
72
79
|
readonly bigquery: pulumi.Output<outputs.GlobalConnectionBigquery | undefined>;
|
|
73
80
|
/**
|
|
74
81
|
* Databricks connection configuration
|
|
75
82
|
*/
|
|
76
83
|
readonly databricks: pulumi.Output<outputs.GlobalConnectionDatabricks | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Microsoft Fabric connection configuration.
|
|
86
|
+
*/
|
|
87
|
+
readonly fabric: pulumi.Output<outputs.GlobalConnectionFabric | undefined>;
|
|
77
88
|
/**
|
|
78
89
|
* Whether the connection can use an SSH tunnel
|
|
79
90
|
*/
|
|
@@ -83,14 +94,30 @@ export declare class GlobalConnection extends pulumi.CustomResource {
|
|
|
83
94
|
*/
|
|
84
95
|
readonly name: pulumi.Output<string>;
|
|
85
96
|
readonly oauthConfigurationId: pulumi.Output<number>;
|
|
97
|
+
/**
|
|
98
|
+
* PostgreSQL connection configuration.
|
|
99
|
+
*/
|
|
100
|
+
readonly postgres: pulumi.Output<outputs.GlobalConnectionPostgres | undefined>;
|
|
86
101
|
/**
|
|
87
102
|
* Private Link Endpoint ID. This ID can be found using the `privatelinkEndpoint` data source
|
|
88
103
|
*/
|
|
89
104
|
readonly privateLinkEndpointId: pulumi.Output<string | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Redshift connection configuration
|
|
107
|
+
*/
|
|
108
|
+
readonly redshift: pulumi.Output<outputs.GlobalConnectionRedshift | undefined>;
|
|
90
109
|
/**
|
|
91
110
|
* Snowflake connection configuration
|
|
92
111
|
*/
|
|
93
112
|
readonly snowflake: pulumi.Output<outputs.GlobalConnectionSnowflake | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* Starburst/Trino connection configuration.
|
|
115
|
+
*/
|
|
116
|
+
readonly starburst: pulumi.Output<outputs.GlobalConnectionStarburst | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Azure Synapse Analytics connection configuration.
|
|
119
|
+
*/
|
|
120
|
+
readonly synapse: pulumi.Output<outputs.GlobalConnectionSynapse | undefined>;
|
|
94
121
|
/**
|
|
95
122
|
* Create a GlobalConnection resource with the given unique name, arguments, and options.
|
|
96
123
|
*
|
|
@@ -108,11 +135,23 @@ export interface GlobalConnectionState {
|
|
|
108
135
|
* Version of the adapter
|
|
109
136
|
*/
|
|
110
137
|
adapterVersion?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Apache Spark connection configuration.
|
|
140
|
+
*/
|
|
141
|
+
apacheSpark?: pulumi.Input<inputs.GlobalConnectionApacheSpark>;
|
|
142
|
+
/**
|
|
143
|
+
* Athena connection configuration.
|
|
144
|
+
*/
|
|
145
|
+
athena?: pulumi.Input<inputs.GlobalConnectionAthena>;
|
|
111
146
|
bigquery?: pulumi.Input<inputs.GlobalConnectionBigquery>;
|
|
112
147
|
/**
|
|
113
148
|
* Databricks connection configuration
|
|
114
149
|
*/
|
|
115
150
|
databricks?: pulumi.Input<inputs.GlobalConnectionDatabricks>;
|
|
151
|
+
/**
|
|
152
|
+
* Microsoft Fabric connection configuration.
|
|
153
|
+
*/
|
|
154
|
+
fabric?: pulumi.Input<inputs.GlobalConnectionFabric>;
|
|
116
155
|
/**
|
|
117
156
|
* Whether the connection can use an SSH tunnel
|
|
118
157
|
*/
|
|
@@ -122,34 +161,78 @@ export interface GlobalConnectionState {
|
|
|
122
161
|
*/
|
|
123
162
|
name?: pulumi.Input<string>;
|
|
124
163
|
oauthConfigurationId?: pulumi.Input<number>;
|
|
164
|
+
/**
|
|
165
|
+
* PostgreSQL connection configuration.
|
|
166
|
+
*/
|
|
167
|
+
postgres?: pulumi.Input<inputs.GlobalConnectionPostgres>;
|
|
125
168
|
/**
|
|
126
169
|
* Private Link Endpoint ID. This ID can be found using the `privatelinkEndpoint` data source
|
|
127
170
|
*/
|
|
128
171
|
privateLinkEndpointId?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Redshift connection configuration
|
|
174
|
+
*/
|
|
175
|
+
redshift?: pulumi.Input<inputs.GlobalConnectionRedshift>;
|
|
129
176
|
/**
|
|
130
177
|
* Snowflake connection configuration
|
|
131
178
|
*/
|
|
132
179
|
snowflake?: pulumi.Input<inputs.GlobalConnectionSnowflake>;
|
|
180
|
+
/**
|
|
181
|
+
* Starburst/Trino connection configuration.
|
|
182
|
+
*/
|
|
183
|
+
starburst?: pulumi.Input<inputs.GlobalConnectionStarburst>;
|
|
184
|
+
/**
|
|
185
|
+
* Azure Synapse Analytics connection configuration.
|
|
186
|
+
*/
|
|
187
|
+
synapse?: pulumi.Input<inputs.GlobalConnectionSynapse>;
|
|
133
188
|
}
|
|
134
189
|
/**
|
|
135
190
|
* The set of arguments for constructing a GlobalConnection resource.
|
|
136
191
|
*/
|
|
137
192
|
export interface GlobalConnectionArgs {
|
|
193
|
+
/**
|
|
194
|
+
* Apache Spark connection configuration.
|
|
195
|
+
*/
|
|
196
|
+
apacheSpark?: pulumi.Input<inputs.GlobalConnectionApacheSpark>;
|
|
197
|
+
/**
|
|
198
|
+
* Athena connection configuration.
|
|
199
|
+
*/
|
|
200
|
+
athena?: pulumi.Input<inputs.GlobalConnectionAthena>;
|
|
138
201
|
bigquery?: pulumi.Input<inputs.GlobalConnectionBigquery>;
|
|
139
202
|
/**
|
|
140
203
|
* Databricks connection configuration
|
|
141
204
|
*/
|
|
142
205
|
databricks?: pulumi.Input<inputs.GlobalConnectionDatabricks>;
|
|
206
|
+
/**
|
|
207
|
+
* Microsoft Fabric connection configuration.
|
|
208
|
+
*/
|
|
209
|
+
fabric?: pulumi.Input<inputs.GlobalConnectionFabric>;
|
|
143
210
|
/**
|
|
144
211
|
* Connection name
|
|
145
212
|
*/
|
|
146
213
|
name?: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* PostgreSQL connection configuration.
|
|
216
|
+
*/
|
|
217
|
+
postgres?: pulumi.Input<inputs.GlobalConnectionPostgres>;
|
|
147
218
|
/**
|
|
148
219
|
* Private Link Endpoint ID. This ID can be found using the `privatelinkEndpoint` data source
|
|
149
220
|
*/
|
|
150
221
|
privateLinkEndpointId?: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* Redshift connection configuration
|
|
224
|
+
*/
|
|
225
|
+
redshift?: pulumi.Input<inputs.GlobalConnectionRedshift>;
|
|
151
226
|
/**
|
|
152
227
|
* Snowflake connection configuration
|
|
153
228
|
*/
|
|
154
229
|
snowflake?: pulumi.Input<inputs.GlobalConnectionSnowflake>;
|
|
230
|
+
/**
|
|
231
|
+
* Starburst/Trino connection configuration.
|
|
232
|
+
*/
|
|
233
|
+
starburst?: pulumi.Input<inputs.GlobalConnectionStarburst>;
|
|
234
|
+
/**
|
|
235
|
+
* Azure Synapse Analytics connection configuration.
|
|
236
|
+
*/
|
|
237
|
+
synapse?: pulumi.Input<inputs.GlobalConnectionSynapse>;
|
|
155
238
|
}
|
package/globalConnection.js
CHANGED
|
@@ -8,10 +8,9 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This resource can be used to create global connections as introduced in dbt Cloud in August 2024.
|
|
10
10
|
*
|
|
11
|
-
* Those connections are not linked to a project and can be linked to environments from different projects by using the `connectionId` field in the `dbtcloud.Environment` resource.
|
|
11
|
+
* Those connections are not linked to a specific project and can be linked to environments from different projects by using the `connectionId` field in the `dbtcloud.Environment` resource.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* but all Data Warehouses will soon be supported under this resource and the other ones will be deprecated in the future.
|
|
13
|
+
* All connections types are supported, and the old resources `dbtcloud.Connection`, `dbtcloud.BigQueryConnection` and `dbtcloud.FabricConnection` are now flagged as deprecated and will be removed from the next major version of the provider.
|
|
15
14
|
*
|
|
16
15
|
* ## Import
|
|
17
16
|
*
|
|
@@ -82,21 +81,35 @@ class GlobalConnection extends pulumi.CustomResource {
|
|
|
82
81
|
if (opts.id) {
|
|
83
82
|
const state = argsOrState;
|
|
84
83
|
resourceInputs["adapterVersion"] = state ? state.adapterVersion : undefined;
|
|
84
|
+
resourceInputs["apacheSpark"] = state ? state.apacheSpark : undefined;
|
|
85
|
+
resourceInputs["athena"] = state ? state.athena : undefined;
|
|
85
86
|
resourceInputs["bigquery"] = state ? state.bigquery : undefined;
|
|
86
87
|
resourceInputs["databricks"] = state ? state.databricks : undefined;
|
|
88
|
+
resourceInputs["fabric"] = state ? state.fabric : undefined;
|
|
87
89
|
resourceInputs["isSshTunnelEnabled"] = state ? state.isSshTunnelEnabled : undefined;
|
|
88
90
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
89
91
|
resourceInputs["oauthConfigurationId"] = state ? state.oauthConfigurationId : undefined;
|
|
92
|
+
resourceInputs["postgres"] = state ? state.postgres : undefined;
|
|
90
93
|
resourceInputs["privateLinkEndpointId"] = state ? state.privateLinkEndpointId : undefined;
|
|
94
|
+
resourceInputs["redshift"] = state ? state.redshift : undefined;
|
|
91
95
|
resourceInputs["snowflake"] = state ? state.snowflake : undefined;
|
|
96
|
+
resourceInputs["starburst"] = state ? state.starburst : undefined;
|
|
97
|
+
resourceInputs["synapse"] = state ? state.synapse : undefined;
|
|
92
98
|
}
|
|
93
99
|
else {
|
|
94
100
|
const args = argsOrState;
|
|
101
|
+
resourceInputs["apacheSpark"] = args ? args.apacheSpark : undefined;
|
|
102
|
+
resourceInputs["athena"] = args ? args.athena : undefined;
|
|
95
103
|
resourceInputs["bigquery"] = args ? args.bigquery : undefined;
|
|
96
104
|
resourceInputs["databricks"] = args ? args.databricks : undefined;
|
|
105
|
+
resourceInputs["fabric"] = args ? args.fabric : undefined;
|
|
97
106
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
107
|
+
resourceInputs["postgres"] = args ? args.postgres : undefined;
|
|
98
108
|
resourceInputs["privateLinkEndpointId"] = args ? args.privateLinkEndpointId : undefined;
|
|
109
|
+
resourceInputs["redshift"] = args ? args.redshift : undefined;
|
|
99
110
|
resourceInputs["snowflake"] = args ? args.snowflake : undefined;
|
|
111
|
+
resourceInputs["starburst"] = args ? args.starburst : undefined;
|
|
112
|
+
resourceInputs["synapse"] = args ? args.synapse : undefined;
|
|
100
113
|
resourceInputs["adapterVersion"] = undefined /*out*/;
|
|
101
114
|
resourceInputs["isSshTunnelEnabled"] = undefined /*out*/;
|
|
102
115
|
resourceInputs["oauthConfigurationId"] = undefined /*out*/;
|