@pulumi/dbtcloud 0.2.0-alpha.1724909482 → 0.2.0-alpha.1724995933

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.
@@ -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 deprecated in the future, please use the `dbtcloud.GlobalConnection` resource instead to crate BigQuery connections.
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
  *
@@ -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 deprecated in the future, please use the `dbtcloud.GlobalConnection` resource instead to crate BigQuery connections.
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
- * Create a Data Warehouse connection for your project in dbt Cloud. The connection will need to be linked to the dbt Cloud project via a `dbtcloud.ProjectConnection` resource.
3
+ * Resource to create a Data Warehouse connection in dbt Cloud.
4
4
  *
5
- * This resource can be used for Databricks, Postgres, Redshift, Snowflake and AlloyDB connections.
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
- * Create a Data Warehouse connection for your project in dbt Cloud. The connection will need to be linked to the dbt Cloud project via a `dbtcloud.ProjectConnection` resource.
9
+ * Resource to create a Data Warehouse connection in dbt Cloud.
10
10
  *
11
- * This resource can be used for Databricks, Postgres, Redshift, Snowflake and AlloyDB connections.
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA2FD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG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AAC"}
@@ -1,6 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Resource to create Microsoft Fabric connections in dbt Cloud
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
  *
@@ -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 Microsoft Fabric connections in dbt Cloud
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
  *
@@ -1 +1 @@
1
- {"version":3,"file":"fabricConnection.js","sourceRoot":"","sources":["../fabricConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;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,CAAC;IACjE,CAAC;IAmDD,YAAY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AM,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;YACtD,cAAc,CAAC,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"}
@@ -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
- * For now, only a subset of connections are supported and the other Data Warehouses can continue using the existing resources `dbtcloud.Connection` and `dbtcloud.FabricConnection` ,
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
  }
@@ -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
- * For now, only a subset of connections are supported and the other Data Warehouses can continue using the existing resources `dbtcloud.Connection` and `dbtcloud.FabricConnection` ,
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*/;
@@ -1 +1 @@
1
- {"version":3,"file":"globalConnection.js","sourceRoot":"","sources":["../globalConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;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,I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C;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9D;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;;AAnIL,4CAoIC;AAtHG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/dbtcloud",
3
- "version": "0.2.0-alpha.1724909482",
3
+ "version": "0.2.0-alpha.1724995933",
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": "0.2.0-alpha.1724909482",
29
+ "version": "0.2.0-alpha.1724995933",
30
30
  "server": "github://api.github.com/pulumi/pulumi-dbtcloud"
31
31
  }
32
32
  }
package/types/input.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
2
3
  export interface GetServiceTokenServiceTokenPermission {
3
4
  /**
4
5
  * Whether or not to apply this permission to all projects for this service token
@@ -43,6 +44,94 @@ export interface GetServiceTokenServiceTokenPermissionArgs {
43
44
  */
44
45
  writableEnvironmentCategories?: pulumi.Input<pulumi.Input<string>[]>;
45
46
  }
47
+ export interface GlobalConnectionApacheSpark {
48
+ /**
49
+ * Auth
50
+ */
51
+ auth?: pulumi.Input<string>;
52
+ /**
53
+ * Spark cluster for the connection
54
+ */
55
+ cluster: pulumi.Input<string>;
56
+ /**
57
+ * Connection retries. Default=0
58
+ */
59
+ connectRetries?: pulumi.Input<number>;
60
+ /**
61
+ * Connection time out in seconds. Default=10
62
+ */
63
+ connectTimeout?: pulumi.Input<number>;
64
+ /**
65
+ * Hostname of the connection
66
+ */
67
+ host: pulumi.Input<string>;
68
+ /**
69
+ * Authentication method for the connection (http or thrift).
70
+ */
71
+ method: pulumi.Input<string>;
72
+ /**
73
+ * Organization ID
74
+ */
75
+ organization?: pulumi.Input<string>;
76
+ /**
77
+ * Port for the connection. Default=443
78
+ */
79
+ port?: pulumi.Input<number>;
80
+ /**
81
+ * User
82
+ */
83
+ user?: pulumi.Input<string>;
84
+ }
85
+ export interface GlobalConnectionAthena {
86
+ /**
87
+ * Specify the database (data catalog) to build models into (lowercase only).
88
+ */
89
+ database: pulumi.Input<string>;
90
+ /**
91
+ * Number of times to retry boto3 requests (e.g. deleting S3 files for materialized tables).
92
+ */
93
+ numBoto3Retries?: pulumi.Input<number>;
94
+ /**
95
+ * Number of times to retry iceberg commit queries to fix ICEBERG*COMMIT*ERROR.
96
+ */
97
+ numIcebergRetries?: pulumi.Input<number>;
98
+ /**
99
+ * Number of times to retry a failing query.
100
+ */
101
+ numRetries?: pulumi.Input<number>;
102
+ /**
103
+ * Interval in seconds to use for polling the status of query results in Athena.
104
+ */
105
+ pollInterval?: pulumi.Input<number>;
106
+ /**
107
+ * AWS region of your Athena instance.
108
+ */
109
+ regionName: pulumi.Input<string>;
110
+ /**
111
+ * Prefix for storing tables, if different from the connection's S3 staging directory.
112
+ */
113
+ s3DataDir?: pulumi.Input<string>;
114
+ /**
115
+ * How to generate table paths in the S3 data directory.
116
+ */
117
+ s3DataNaming?: pulumi.Input<string>;
118
+ /**
119
+ * S3 location to store Athena query results and metadata.
120
+ */
121
+ s3StagingDir: pulumi.Input<string>;
122
+ /**
123
+ * Prefix for storing temporary tables, if different from the connection's S3 data directory.
124
+ */
125
+ s3TmpTableDir?: pulumi.Input<string>;
126
+ /**
127
+ * Identifier of Athena Spark workgroup for running Python models.
128
+ */
129
+ sparkWorkGroup?: pulumi.Input<string>;
130
+ /**
131
+ * Identifier of Athena workgroup.
132
+ */
133
+ workGroup?: pulumi.Input<string>;
134
+ }
46
135
  export interface GlobalConnectionBigquery {
47
136
  /**
48
137
  * OAuth Client ID
@@ -163,6 +252,112 @@ export interface GlobalConnectionDatabricks {
163
252
  */
164
253
  httpPath: pulumi.Input<string>;
165
254
  }
255
+ export interface GlobalConnectionFabric {
256
+ /**
257
+ * The database to connect to for this connection.
258
+ */
259
+ database: pulumi.Input<string>;
260
+ /**
261
+ * The number of seconds used to establish a connection before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
262
+ */
263
+ loginTimeout?: pulumi.Input<number>;
264
+ /**
265
+ * The port to connect to for this connection. Default=1433
266
+ */
267
+ port?: pulumi.Input<number>;
268
+ /**
269
+ * The number of seconds used to wait for a query before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
270
+ */
271
+ queryTimeout?: pulumi.Input<number>;
272
+ /**
273
+ * The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.
274
+ */
275
+ retries?: pulumi.Input<number>;
276
+ /**
277
+ * The server hostname.
278
+ */
279
+ server: pulumi.Input<string>;
280
+ }
281
+ export interface GlobalConnectionPostgres {
282
+ /**
283
+ * The database name for this connection.
284
+ */
285
+ dbname?: pulumi.Input<string>;
286
+ /**
287
+ * The hostname of the database.
288
+ */
289
+ hostname: pulumi.Input<string>;
290
+ /**
291
+ * The port to connect to for this connection. Default=5432
292
+ */
293
+ port?: pulumi.Input<number>;
294
+ /**
295
+ * PostgreSQL SSH Tunnel configuration
296
+ */
297
+ sshTunnel?: pulumi.Input<inputs.GlobalConnectionPostgresSshTunnel>;
298
+ }
299
+ export interface GlobalConnectionPostgresSshTunnel {
300
+ /**
301
+ * The hostname for the SSH tunnel.
302
+ */
303
+ hostname: pulumi.Input<string>;
304
+ /**
305
+ * The ID of the SSH tunnel connection.
306
+ */
307
+ id?: pulumi.Input<number>;
308
+ /**
309
+ * The HTTP port for the SSH tunnel.
310
+ */
311
+ port: pulumi.Input<number>;
312
+ /**
313
+ * The SSH public key generated to allow connecting via SSH tunnel.
314
+ */
315
+ publicKey?: pulumi.Input<string>;
316
+ /**
317
+ * The username to use for the SSH tunnel.
318
+ */
319
+ username: pulumi.Input<string>;
320
+ }
321
+ export interface GlobalConnectionRedshift {
322
+ /**
323
+ * The database name for this connection.
324
+ */
325
+ dbname?: pulumi.Input<string>;
326
+ /**
327
+ * The hostname of the data warehouse.
328
+ */
329
+ hostname: pulumi.Input<string>;
330
+ /**
331
+ * The port to connect to for this connection. Default=5432
332
+ */
333
+ port?: pulumi.Input<number>;
334
+ /**
335
+ * Redshift SSH Tunnel configuration
336
+ */
337
+ sshTunnel?: pulumi.Input<inputs.GlobalConnectionRedshiftSshTunnel>;
338
+ }
339
+ export interface GlobalConnectionRedshiftSshTunnel {
340
+ /**
341
+ * The hostname for the SSH tunnel.
342
+ */
343
+ hostname: pulumi.Input<string>;
344
+ /**
345
+ * The ID of the SSH tunnel connection.
346
+ */
347
+ id?: pulumi.Input<number>;
348
+ /**
349
+ * The HTTP port for the SSH tunnel.
350
+ */
351
+ port: pulumi.Input<number>;
352
+ /**
353
+ * The SSH public key generated to allow connecting via SSH tunnel.
354
+ */
355
+ publicKey?: pulumi.Input<string>;
356
+ /**
357
+ * The username to use for the SSH tunnel.
358
+ */
359
+ username: pulumi.Input<string>;
360
+ }
166
361
  export interface GlobalConnectionSnowflake {
167
362
  /**
168
363
  * The Snowflake account name
@@ -197,6 +392,46 @@ export interface GlobalConnectionSnowflake {
197
392
  */
198
393
  warehouse: pulumi.Input<string>;
199
394
  }
395
+ export interface GlobalConnectionStarburst {
396
+ /**
397
+ * The hostname of the account to connect to.
398
+ */
399
+ host: pulumi.Input<string>;
400
+ /**
401
+ * The authentication method. Only LDAP for now.
402
+ */
403
+ method?: pulumi.Input<string>;
404
+ /**
405
+ * The port to connect to for this connection. Default=443
406
+ */
407
+ port?: pulumi.Input<number>;
408
+ }
409
+ export interface GlobalConnectionSynapse {
410
+ /**
411
+ * The database to connect to for this connection.
412
+ */
413
+ database: pulumi.Input<string>;
414
+ /**
415
+ * The server hostname.
416
+ */
417
+ host: pulumi.Input<string>;
418
+ /**
419
+ * The number of seconds used to establish a connection before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
420
+ */
421
+ loginTimeout?: pulumi.Input<number>;
422
+ /**
423
+ * The port to connect to for this connection. Default=1433
424
+ */
425
+ port?: pulumi.Input<number>;
426
+ /**
427
+ * The number of seconds used to wait for a query before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
428
+ */
429
+ queryTimeout?: pulumi.Input<number>;
430
+ /**
431
+ * The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.
432
+ */
433
+ retries?: pulumi.Input<number>;
434
+ }
200
435
  export interface GroupGroupPermission {
201
436
  /**
202
437
  * Whether access should be provided for all projects or not.
package/types/output.d.ts CHANGED
@@ -246,6 +246,94 @@ export interface GetUsersUser {
246
246
  */
247
247
  id: number;
248
248
  }
249
+ export interface GlobalConnectionApacheSpark {
250
+ /**
251
+ * Auth
252
+ */
253
+ auth?: string;
254
+ /**
255
+ * Spark cluster for the connection
256
+ */
257
+ cluster: string;
258
+ /**
259
+ * Connection retries. Default=0
260
+ */
261
+ connectRetries: number;
262
+ /**
263
+ * Connection time out in seconds. Default=10
264
+ */
265
+ connectTimeout: number;
266
+ /**
267
+ * Hostname of the connection
268
+ */
269
+ host: string;
270
+ /**
271
+ * Authentication method for the connection (http or thrift).
272
+ */
273
+ method: string;
274
+ /**
275
+ * Organization ID
276
+ */
277
+ organization?: string;
278
+ /**
279
+ * Port for the connection. Default=443
280
+ */
281
+ port: number;
282
+ /**
283
+ * User
284
+ */
285
+ user?: string;
286
+ }
287
+ export interface GlobalConnectionAthena {
288
+ /**
289
+ * Specify the database (data catalog) to build models into (lowercase only).
290
+ */
291
+ database: string;
292
+ /**
293
+ * Number of times to retry boto3 requests (e.g. deleting S3 files for materialized tables).
294
+ */
295
+ numBoto3Retries?: number;
296
+ /**
297
+ * Number of times to retry iceberg commit queries to fix ICEBERG*COMMIT*ERROR.
298
+ */
299
+ numIcebergRetries?: number;
300
+ /**
301
+ * Number of times to retry a failing query.
302
+ */
303
+ numRetries?: number;
304
+ /**
305
+ * Interval in seconds to use for polling the status of query results in Athena.
306
+ */
307
+ pollInterval?: number;
308
+ /**
309
+ * AWS region of your Athena instance.
310
+ */
311
+ regionName: string;
312
+ /**
313
+ * Prefix for storing tables, if different from the connection's S3 staging directory.
314
+ */
315
+ s3DataDir?: string;
316
+ /**
317
+ * How to generate table paths in the S3 data directory.
318
+ */
319
+ s3DataNaming?: string;
320
+ /**
321
+ * S3 location to store Athena query results and metadata.
322
+ */
323
+ s3StagingDir: string;
324
+ /**
325
+ * Prefix for storing temporary tables, if different from the connection's S3 data directory.
326
+ */
327
+ s3TmpTableDir?: string;
328
+ /**
329
+ * Identifier of Athena Spark workgroup for running Python models.
330
+ */
331
+ sparkWorkGroup?: string;
332
+ /**
333
+ * Identifier of Athena workgroup.
334
+ */
335
+ workGroup?: string;
336
+ }
249
337
  export interface GlobalConnectionBigquery {
250
338
  /**
251
339
  * OAuth Client ID
@@ -366,6 +454,112 @@ export interface GlobalConnectionDatabricks {
366
454
  */
367
455
  httpPath: string;
368
456
  }
457
+ export interface GlobalConnectionFabric {
458
+ /**
459
+ * The database to connect to for this connection.
460
+ */
461
+ database: string;
462
+ /**
463
+ * The number of seconds used to establish a connection before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
464
+ */
465
+ loginTimeout: number;
466
+ /**
467
+ * The port to connect to for this connection. Default=1433
468
+ */
469
+ port: number;
470
+ /**
471
+ * The number of seconds used to wait for a query before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
472
+ */
473
+ queryTimeout: number;
474
+ /**
475
+ * The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.
476
+ */
477
+ retries: number;
478
+ /**
479
+ * The server hostname.
480
+ */
481
+ server: string;
482
+ }
483
+ export interface GlobalConnectionPostgres {
484
+ /**
485
+ * The database name for this connection.
486
+ */
487
+ dbname?: string;
488
+ /**
489
+ * The hostname of the database.
490
+ */
491
+ hostname: string;
492
+ /**
493
+ * The port to connect to for this connection. Default=5432
494
+ */
495
+ port: number;
496
+ /**
497
+ * PostgreSQL SSH Tunnel configuration
498
+ */
499
+ sshTunnel?: outputs.GlobalConnectionPostgresSshTunnel;
500
+ }
501
+ export interface GlobalConnectionPostgresSshTunnel {
502
+ /**
503
+ * The hostname for the SSH tunnel.
504
+ */
505
+ hostname: string;
506
+ /**
507
+ * The ID of the SSH tunnel connection.
508
+ */
509
+ id: number;
510
+ /**
511
+ * The HTTP port for the SSH tunnel.
512
+ */
513
+ port: number;
514
+ /**
515
+ * The SSH public key generated to allow connecting via SSH tunnel.
516
+ */
517
+ publicKey: string;
518
+ /**
519
+ * The username to use for the SSH tunnel.
520
+ */
521
+ username: string;
522
+ }
523
+ export interface GlobalConnectionRedshift {
524
+ /**
525
+ * The database name for this connection.
526
+ */
527
+ dbname?: string;
528
+ /**
529
+ * The hostname of the data warehouse.
530
+ */
531
+ hostname: string;
532
+ /**
533
+ * The port to connect to for this connection. Default=5432
534
+ */
535
+ port: number;
536
+ /**
537
+ * Redshift SSH Tunnel configuration
538
+ */
539
+ sshTunnel?: outputs.GlobalConnectionRedshiftSshTunnel;
540
+ }
541
+ export interface GlobalConnectionRedshiftSshTunnel {
542
+ /**
543
+ * The hostname for the SSH tunnel.
544
+ */
545
+ hostname: string;
546
+ /**
547
+ * The ID of the SSH tunnel connection.
548
+ */
549
+ id: number;
550
+ /**
551
+ * The HTTP port for the SSH tunnel.
552
+ */
553
+ port: number;
554
+ /**
555
+ * The SSH public key generated to allow connecting via SSH tunnel.
556
+ */
557
+ publicKey: string;
558
+ /**
559
+ * The username to use for the SSH tunnel.
560
+ */
561
+ username: string;
562
+ }
369
563
  export interface GlobalConnectionSnowflake {
370
564
  /**
371
565
  * The Snowflake account name
@@ -400,6 +594,46 @@ export interface GlobalConnectionSnowflake {
400
594
  */
401
595
  warehouse: string;
402
596
  }
597
+ export interface GlobalConnectionStarburst {
598
+ /**
599
+ * The hostname of the account to connect to.
600
+ */
601
+ host: string;
602
+ /**
603
+ * The authentication method. Only LDAP for now.
604
+ */
605
+ method: string;
606
+ /**
607
+ * The port to connect to for this connection. Default=443
608
+ */
609
+ port: number;
610
+ }
611
+ export interface GlobalConnectionSynapse {
612
+ /**
613
+ * The database to connect to for this connection.
614
+ */
615
+ database: string;
616
+ /**
617
+ * The server hostname.
618
+ */
619
+ host: string;
620
+ /**
621
+ * The number of seconds used to establish a connection before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
622
+ */
623
+ loginTimeout: number;
624
+ /**
625
+ * The port to connect to for this connection. Default=1433
626
+ */
627
+ port: number;
628
+ /**
629
+ * The number of seconds used to wait for a query before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
630
+ */
631
+ queryTimeout: number;
632
+ /**
633
+ * The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.
634
+ */
635
+ retries: number;
636
+ }
403
637
  export interface GroupGroupPermission {
404
638
  /**
405
639
  * Whether access should be provided for all projects or not.