@ryan-pip/pulumi-fivetran 1.5.1 → 1.9.4

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.
Files changed (343) hide show
  1. package/config/index.d.ts +1 -0
  2. package/config/index.d.ts.map +1 -0
  3. package/config/index.js +1 -1
  4. package/config/index.js.map +1 -1
  5. package/config/vars.d.ts +1 -0
  6. package/config/vars.d.ts.map +1 -0
  7. package/config/vars.js +28 -7
  8. package/config/vars.js.map +1 -1
  9. package/connector.d.ts +104 -40
  10. package/connector.d.ts.map +1 -0
  11. package/connector.js +150 -41
  12. package/connector.js.map +1 -1
  13. package/connectorCertificates.d.ts +51 -0
  14. package/connectorCertificates.d.ts.map +1 -0
  15. package/connectorCertificates.js +84 -11
  16. package/connectorCertificates.js.map +1 -1
  17. package/connectorFingerprints.d.ts +13 -9
  18. package/connectorFingerprints.d.ts.map +1 -0
  19. package/connectorFingerprints.js +46 -20
  20. package/connectorFingerprints.js.map +1 -1
  21. package/connectorSchedule.d.ts +24 -33
  22. package/connectorSchedule.d.ts.map +1 -0
  23. package/connectorSchedule.js +65 -52
  24. package/connectorSchedule.js.map +1 -1
  25. package/connectorSchemaConfig.d.ts +200 -9
  26. package/connectorSchemaConfig.d.ts.map +1 -0
  27. package/connectorSchemaConfig.js +231 -21
  28. package/connectorSchemaConfig.js.map +1 -1
  29. package/destination.d.ts +63 -37
  30. package/destination.d.ts.map +1 -0
  31. package/destination.js +113 -50
  32. package/destination.js.map +1 -1
  33. package/destinationCertificates.d.ts +54 -0
  34. package/destinationCertificates.d.ts.map +1 -0
  35. package/destinationCertificates.js +87 -11
  36. package/destinationCertificates.js.map +1 -1
  37. package/destinationFingerprints.d.ts +13 -9
  38. package/destinationFingerprints.d.ts.map +1 -0
  39. package/destinationFingerprints.js +46 -20
  40. package/destinationFingerprints.js.map +1 -1
  41. package/externalLogging.d.ts +42 -12
  42. package/externalLogging.d.ts.map +1 -0
  43. package/externalLogging.js +82 -30
  44. package/externalLogging.js.map +1 -1
  45. package/getConnection.d.ts +143 -0
  46. package/getConnection.d.ts.map +1 -0
  47. package/getConnection.js +77 -0
  48. package/getConnection.js.map +1 -0
  49. package/getConnectionCertificates.d.ts +64 -0
  50. package/getConnectionCertificates.d.ts.map +1 -0
  51. package/getConnectionCertificates.js +75 -0
  52. package/getConnectionCertificates.js.map +1 -0
  53. package/getConnectionFingerprints.d.ts +64 -0
  54. package/getConnectionFingerprints.d.ts.map +1 -0
  55. package/getConnectionFingerprints.js +75 -0
  56. package/getConnectionFingerprints.js.map +1 -0
  57. package/getConnections.d.ts +38 -0
  58. package/getConnections.d.ts.map +1 -0
  59. package/getConnections.js +57 -0
  60. package/getConnections.js.map +1 -0
  61. package/getConnector.d.ts +3 -2
  62. package/getConnector.d.ts.map +1 -0
  63. package/getConnector.js +28 -5
  64. package/getConnector.js.map +1 -1
  65. package/getConnectorCertificates.d.ts +29 -0
  66. package/getConnectorCertificates.d.ts.map +1 -0
  67. package/getConnectorCertificates.js +54 -3
  68. package/getConnectorCertificates.js.map +1 -1
  69. package/getConnectorFingerprints.d.ts +3 -2
  70. package/getConnectorFingerprints.d.ts.map +1 -0
  71. package/getConnectorFingerprints.js +28 -5
  72. package/getConnectorFingerprints.js.map +1 -1
  73. package/getConnectors.d.ts +5 -0
  74. package/getConnectors.d.ts.map +1 -0
  75. package/getConnectors.js +30 -3
  76. package/getConnectors.js.map +1 -1
  77. package/getConnectorsMetadata.d.ts +3 -2
  78. package/getConnectorsMetadata.d.ts.map +1 -0
  79. package/getConnectorsMetadata.js +28 -5
  80. package/getConnectorsMetadata.js.map +1 -1
  81. package/getDestination.d.ts +3 -2
  82. package/getDestination.d.ts.map +1 -0
  83. package/getDestination.js +28 -5
  84. package/getDestination.js.map +1 -1
  85. package/getDestinationCertificates.d.ts +1 -0
  86. package/getDestinationCertificates.d.ts.map +1 -0
  87. package/getDestinationCertificates.js +26 -3
  88. package/getDestinationCertificates.js.map +1 -1
  89. package/getDestinationFingerprints.d.ts +3 -2
  90. package/getDestinationFingerprints.d.ts.map +1 -0
  91. package/getDestinationFingerprints.js +28 -5
  92. package/getDestinationFingerprints.js.map +1 -1
  93. package/getDestinations.d.ts +5 -0
  94. package/getDestinations.d.ts.map +1 -0
  95. package/getDestinations.js +30 -3
  96. package/getDestinations.js.map +1 -1
  97. package/getExternalLogging.d.ts +3 -2
  98. package/getExternalLogging.d.ts.map +1 -0
  99. package/getExternalLogging.js +28 -5
  100. package/getExternalLogging.js.map +1 -1
  101. package/getExternalLogs.d.ts +5 -0
  102. package/getExternalLogs.d.ts.map +1 -0
  103. package/getExternalLogs.js +30 -3
  104. package/getExternalLogs.js.map +1 -1
  105. package/getGroup.d.ts +3 -2
  106. package/getGroup.d.ts.map +1 -0
  107. package/getGroup.js +28 -5
  108. package/getGroup.js.map +1 -1
  109. package/getGroupConnections.d.ts +78 -0
  110. package/getGroupConnections.d.ts.map +1 -0
  111. package/getGroupConnections.js +79 -0
  112. package/getGroupConnections.js.map +1 -0
  113. package/getGroupConnectors.d.ts +3 -2
  114. package/getGroupConnectors.d.ts.map +1 -0
  115. package/getGroupConnectors.js +28 -5
  116. package/getGroupConnectors.js.map +1 -1
  117. package/getGroupServiceAccount.d.ts +3 -2
  118. package/getGroupServiceAccount.d.ts.map +1 -0
  119. package/getGroupServiceAccount.js +28 -5
  120. package/getGroupServiceAccount.js.map +1 -1
  121. package/getGroupSshKey.d.ts +3 -2
  122. package/getGroupSshKey.d.ts.map +1 -0
  123. package/getGroupSshKey.js +28 -5
  124. package/getGroupSshKey.js.map +1 -1
  125. package/getGroupUsers.d.ts +3 -2
  126. package/getGroupUsers.d.ts.map +1 -0
  127. package/getGroupUsers.js +28 -5
  128. package/getGroupUsers.js.map +1 -1
  129. package/getGroups.d.ts +3 -2
  130. package/getGroups.d.ts.map +1 -0
  131. package/getGroups.js +28 -5
  132. package/getGroups.js.map +1 -1
  133. package/getHybridDeploymentAgent.d.ts +5 -0
  134. package/getHybridDeploymentAgent.d.ts.map +1 -0
  135. package/getHybridDeploymentAgent.js +30 -3
  136. package/getHybridDeploymentAgent.js.map +1 -1
  137. package/getHybridDeploymentAgents.d.ts +3 -2
  138. package/getHybridDeploymentAgents.d.ts.map +1 -0
  139. package/getHybridDeploymentAgents.js +28 -5
  140. package/getHybridDeploymentAgents.js.map +1 -1
  141. package/getPrivateLink.d.ts +7 -2
  142. package/getPrivateLink.d.ts.map +1 -0
  143. package/getPrivateLink.js +28 -5
  144. package/getPrivateLink.js.map +1 -1
  145. package/getPrivateLinks.d.ts +1 -0
  146. package/getPrivateLinks.d.ts.map +1 -0
  147. package/getPrivateLinks.js +26 -3
  148. package/getPrivateLinks.js.map +1 -1
  149. package/getProxyAgent.d.ts +3 -10
  150. package/getProxyAgent.d.ts.map +1 -0
  151. package/getProxyAgent.js +28 -5
  152. package/getProxyAgent.js.map +1 -1
  153. package/getProxyAgents.d.ts +3 -2
  154. package/getProxyAgents.d.ts.map +1 -0
  155. package/getProxyAgents.js +28 -5
  156. package/getProxyAgents.js.map +1 -1
  157. package/getQuickstartPackage.d.ts +3 -2
  158. package/getQuickstartPackage.d.ts.map +1 -0
  159. package/getQuickstartPackage.js +28 -5
  160. package/getQuickstartPackage.js.map +1 -1
  161. package/getQuickstartPackages.d.ts +3 -2
  162. package/getQuickstartPackages.d.ts.map +1 -0
  163. package/getQuickstartPackages.js +28 -5
  164. package/getQuickstartPackages.js.map +1 -1
  165. package/getRoles.d.ts +3 -2
  166. package/getRoles.d.ts.map +1 -0
  167. package/getRoles.js +28 -5
  168. package/getRoles.js.map +1 -1
  169. package/getTeam.d.ts +3 -2
  170. package/getTeam.d.ts.map +1 -0
  171. package/getTeam.js +28 -5
  172. package/getTeam.js.map +1 -1
  173. package/getTeamConnectionMemberships.d.ts +42 -0
  174. package/getTeamConnectionMemberships.d.ts.map +1 -0
  175. package/getTeamConnectionMemberships.js +53 -0
  176. package/getTeamConnectionMemberships.js.map +1 -0
  177. package/getTeamConnectorMemberships.d.ts +1 -0
  178. package/getTeamConnectorMemberships.d.ts.map +1 -0
  179. package/getTeamConnectorMemberships.js +26 -3
  180. package/getTeamConnectorMemberships.js.map +1 -1
  181. package/getTeamGroupMemberships.d.ts +3 -2
  182. package/getTeamGroupMemberships.d.ts.map +1 -0
  183. package/getTeamGroupMemberships.js +28 -5
  184. package/getTeamGroupMemberships.js.map +1 -1
  185. package/getTeamUserMemberships.d.ts +3 -2
  186. package/getTeamUserMemberships.d.ts.map +1 -0
  187. package/getTeamUserMemberships.js +28 -5
  188. package/getTeamUserMemberships.js.map +1 -1
  189. package/getTeams.d.ts +3 -2
  190. package/getTeams.d.ts.map +1 -0
  191. package/getTeams.js +28 -5
  192. package/getTeams.js.map +1 -1
  193. package/getTransformation.d.ts +3 -2
  194. package/getTransformation.d.ts.map +1 -0
  195. package/getTransformation.js +28 -5
  196. package/getTransformation.js.map +1 -1
  197. package/getTransformationProject.d.ts +3 -2
  198. package/getTransformationProject.d.ts.map +1 -0
  199. package/getTransformationProject.js +28 -5
  200. package/getTransformationProject.js.map +1 -1
  201. package/getTransformationProjects.d.ts +3 -2
  202. package/getTransformationProjects.d.ts.map +1 -0
  203. package/getTransformationProjects.js +28 -5
  204. package/getTransformationProjects.js.map +1 -1
  205. package/getTransformations.d.ts +3 -2
  206. package/getTransformations.d.ts.map +1 -0
  207. package/getTransformations.js +28 -5
  208. package/getTransformations.js.map +1 -1
  209. package/getUser.d.ts +3 -2
  210. package/getUser.d.ts.map +1 -0
  211. package/getUser.js +28 -5
  212. package/getUser.js.map +1 -1
  213. package/getUserConnectionMemberships.d.ts +64 -0
  214. package/getUserConnectionMemberships.d.ts.map +1 -0
  215. package/getUserConnectionMemberships.js +75 -0
  216. package/getUserConnectionMemberships.js.map +1 -0
  217. package/getUserConnectorMemberships.d.ts +3 -2
  218. package/getUserConnectorMemberships.d.ts.map +1 -0
  219. package/getUserConnectorMemberships.js +28 -5
  220. package/getUserConnectorMemberships.js.map +1 -1
  221. package/getUserGroupMemberships.d.ts +3 -2
  222. package/getUserGroupMemberships.d.ts.map +1 -0
  223. package/getUserGroupMemberships.js +28 -5
  224. package/getUserGroupMemberships.js.map +1 -1
  225. package/getUsers.d.ts +3 -2
  226. package/getUsers.d.ts.map +1 -0
  227. package/getUsers.js +28 -5
  228. package/getUsers.js.map +1 -1
  229. package/getWebhook.d.ts +3 -2
  230. package/getWebhook.d.ts.map +1 -0
  231. package/getWebhook.js +28 -5
  232. package/getWebhook.js.map +1 -1
  233. package/getWebhooks.d.ts +3 -2
  234. package/getWebhooks.d.ts.map +1 -0
  235. package/getWebhooks.js +28 -5
  236. package/getWebhooks.js.map +1 -1
  237. package/group.d.ts +12 -10
  238. package/group.d.ts.map +1 -0
  239. package/group.js +44 -20
  240. package/group.js.map +1 -1
  241. package/groupUsers.d.ts +3 -2
  242. package/groupUsers.d.ts.map +1 -0
  243. package/groupUsers.js +37 -14
  244. package/groupUsers.js.map +1 -1
  245. package/hybridDeploymentAgent.d.ts +14 -3
  246. package/hybridDeploymentAgent.d.ts.map +1 -0
  247. package/hybridDeploymentAgent.js +51 -25
  248. package/hybridDeploymentAgent.js.map +1 -1
  249. package/index.d.ts +23 -24
  250. package/index.d.ts.map +1 -0
  251. package/index.js +58 -38
  252. package/index.js.map +1 -1
  253. package/package.json +4 -3
  254. package/privateLink.d.ts +28 -6
  255. package/privateLink.d.ts.map +1 -0
  256. package/privateLink.js +63 -22
  257. package/privateLink.js.map +1 -1
  258. package/provider.d.ts +15 -0
  259. package/provider.d.ts.map +1 -0
  260. package/provider.js +39 -9
  261. package/provider.js.map +1 -1
  262. package/proxyAgent.d.ts +28 -15
  263. package/proxyAgent.d.ts.map +1 -0
  264. package/proxyAgent.js +47 -22
  265. package/proxyAgent.js.map +1 -1
  266. package/team.d.ts +12 -11
  267. package/team.d.ts.map +1 -0
  268. package/team.js +47 -24
  269. package/team.js.map +1 -1
  270. package/teamConnectorMembership.d.ts +11 -11
  271. package/teamConnectorMembership.d.ts.map +1 -0
  272. package/teamConnectorMembership.js +44 -22
  273. package/teamConnectorMembership.js.map +1 -1
  274. package/teamGroupMembership.d.ts +33 -8
  275. package/teamGroupMembership.d.ts.map +1 -0
  276. package/teamGroupMembership.js +66 -19
  277. package/teamGroupMembership.js.map +1 -1
  278. package/teamUserMembership.d.ts +11 -11
  279. package/teamUserMembership.d.ts.map +1 -0
  280. package/teamUserMembership.js +44 -22
  281. package/teamUserMembership.js.map +1 -1
  282. package/transformation.d.ts +57 -16
  283. package/transformation.d.ts.map +1 -0
  284. package/transformation.js +97 -34
  285. package/transformation.js.map +1 -1
  286. package/transformationProject.d.ts +97 -8
  287. package/transformationProject.d.ts.map +1 -0
  288. package/transformationProject.js +139 -28
  289. package/transformationProject.js.map +1 -1
  290. package/types/index.d.ts +1 -0
  291. package/types/index.d.ts.map +1 -0
  292. package/types/index.js +26 -3
  293. package/types/index.js.map +1 -1
  294. package/types/input.d.ts +2750 -299
  295. package/types/input.d.ts.map +1 -0
  296. package/types/input.js +1 -1
  297. package/types/input.js.map +1 -1
  298. package/types/output.d.ts +1705 -221
  299. package/types/output.d.ts.map +1 -0
  300. package/types/output.js +1 -1
  301. package/types/output.js.map +1 -1
  302. package/user.d.ts +11 -9
  303. package/user.d.ts.map +1 -0
  304. package/user.js +60 -36
  305. package/user.js.map +1 -1
  306. package/userConnectorMembership.d.ts +11 -11
  307. package/userConnectorMembership.d.ts.map +1 -0
  308. package/userConnectorMembership.js +44 -22
  309. package/userConnectorMembership.js.map +1 -1
  310. package/userGroupMembership.d.ts +33 -8
  311. package/userGroupMembership.d.ts.map +1 -0
  312. package/userGroupMembership.js +66 -19
  313. package/userGroupMembership.js.map +1 -1
  314. package/utilities.d.ts +1 -4
  315. package/utilities.d.ts.map +1 -0
  316. package/utilities.js +43 -30
  317. package/utilities.js.map +1 -1
  318. package/webhook.d.ts +10 -8
  319. package/webhook.d.ts.map +1 -0
  320. package/webhook.js +59 -35
  321. package/webhook.js.map +1 -1
  322. package/dbtGitProjectConfig.d.ts +0 -141
  323. package/dbtGitProjectConfig.js +0 -105
  324. package/dbtGitProjectConfig.js.map +0 -1
  325. package/dbtProject.d.ts +0 -237
  326. package/dbtProject.js +0 -134
  327. package/dbtProject.js.map +0 -1
  328. package/dbtTransformation.d.ts +0 -162
  329. package/dbtTransformation.js +0 -105
  330. package/dbtTransformation.js.map +0 -1
  331. package/getDbtModels.d.ts +0 -67
  332. package/getDbtModels.js +0 -52
  333. package/getDbtModels.js.map +0 -1
  334. package/getDbtProject.d.ts +0 -112
  335. package/getDbtProject.js +0 -52
  336. package/getDbtProject.js.map +0 -1
  337. package/getDbtProjects.d.ts +0 -38
  338. package/getDbtProjects.js +0 -42
  339. package/getDbtProjects.js.map +0 -1
  340. package/getDbtTransformation.d.ts +0 -99
  341. package/getDbtTransformation.js +0 -52
  342. package/getDbtTransformation.js.map +0 -1
  343. package/package.json.bak +0 -29
package/dbtProject.js DELETED
@@ -1,134 +0,0 @@
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.DbtProject = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * This resource is Deprecated, please follow the 1.5.0 migration guide to update the schema.
10
- *
11
- * This resource allows you to add, manage and delete dbt Projects in your account.
12
- *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as fivetran from "@ryan-pip/pulumi-fivetran";
18
- *
19
- * const project = new fivetran.DbtProject("project", {
20
- * dbtVersion: "1.4.1",
21
- * defaultSchema: "default_schema",
22
- * environmentVars: ["environment_var=value"],
23
- * groupId: "group_id",
24
- * targetName: "target_name",
25
- * threads: 8,
26
- * type: "GIT",
27
- * });
28
- * ```
29
- *
30
- * ## Import
31
- *
32
- * 1. To import an existing `fivetran_dbt_project` resource into your Terraform state, you need to get **Dbt Project ID** via API call `GET https://api.fivetran.com/v1/dbt/projects` to retrieve available projects.
33
- *
34
- * 2. Fetch project details for particular `project-id` using `GET https://api.fivetran.com/v1/dbt/projects/{project-id}` to ensure that this is the project you want to import.
35
- *
36
- * 3. Define an empty resource in your `.tf` configuration:
37
- *
38
- * hcl
39
- *
40
- * resource "fivetran_dbt_project" "my_imported_fivetran_dbt_project" {
41
- *
42
- * }
43
- *
44
- * 4. Run the `pulumi import` command:
45
- *
46
- * ```sh
47
- * $ pulumi import fivetran:index/dbtProject:DbtProject my_imported_fivetran_dbt_project {Dbt Project ID}
48
- * ```
49
- *
50
- * 4. Use the `terraform state show` command to get the values from the state:
51
- *
52
- * terraform state show 'fivetran_dbt_project.my_imported_fivetran_dbt_project'
53
- *
54
- * 5. Copy the values and paste them to your `.tf` configuration.
55
- */
56
- class DbtProject extends pulumi.CustomResource {
57
- /**
58
- * Get an existing DbtProject resource's state with the given name, ID, and optional extra
59
- * properties used to qualify the lookup.
60
- *
61
- * @param name The _unique_ name of the resulting resource.
62
- * @param id The _unique_ provider ID of the resource to lookup.
63
- * @param state Any extra arguments used during the lookup.
64
- * @param opts Optional settings to control the behavior of the CustomResource.
65
- */
66
- static get(name, id, state, opts) {
67
- return new DbtProject(name, state, Object.assign(Object.assign({}, opts), { id: id }));
68
- }
69
- /**
70
- * Returns true if the given object is an instance of DbtProject. This is designed to work even
71
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
72
- */
73
- static isInstance(obj) {
74
- if (obj === undefined || obj === null) {
75
- return false;
76
- }
77
- return obj['__pulumiType'] === DbtProject.__pulumiType;
78
- }
79
- constructor(name, argsOrState, opts) {
80
- let resourceInputs = {};
81
- opts = opts || {};
82
- if (opts.id) {
83
- const state = argsOrState;
84
- resourceInputs["createdAt"] = state ? state.createdAt : undefined;
85
- resourceInputs["createdById"] = state ? state.createdById : undefined;
86
- resourceInputs["dbtVersion"] = state ? state.dbtVersion : undefined;
87
- resourceInputs["defaultSchema"] = state ? state.defaultSchema : undefined;
88
- resourceInputs["ensureReadiness"] = state ? state.ensureReadiness : undefined;
89
- resourceInputs["environmentVars"] = state ? state.environmentVars : undefined;
90
- resourceInputs["groupId"] = state ? state.groupId : undefined;
91
- resourceInputs["models"] = state ? state.models : undefined;
92
- resourceInputs["projectConfig"] = state ? state.projectConfig : undefined;
93
- resourceInputs["publicKey"] = state ? state.publicKey : undefined;
94
- resourceInputs["status"] = state ? state.status : undefined;
95
- resourceInputs["targetName"] = state ? state.targetName : undefined;
96
- resourceInputs["threads"] = state ? state.threads : undefined;
97
- resourceInputs["timeouts"] = state ? state.timeouts : undefined;
98
- resourceInputs["type"] = state ? state.type : undefined;
99
- }
100
- else {
101
- const args = argsOrState;
102
- if ((!args || args.dbtVersion === undefined) && !opts.urn) {
103
- throw new Error("Missing required property 'dbtVersion'");
104
- }
105
- if ((!args || args.defaultSchema === undefined) && !opts.urn) {
106
- throw new Error("Missing required property 'defaultSchema'");
107
- }
108
- if ((!args || args.groupId === undefined) && !opts.urn) {
109
- throw new Error("Missing required property 'groupId'");
110
- }
111
- resourceInputs["dbtVersion"] = args ? args.dbtVersion : undefined;
112
- resourceInputs["defaultSchema"] = args ? args.defaultSchema : undefined;
113
- resourceInputs["ensureReadiness"] = args ? args.ensureReadiness : undefined;
114
- resourceInputs["environmentVars"] = args ? args.environmentVars : undefined;
115
- resourceInputs["groupId"] = args ? args.groupId : undefined;
116
- resourceInputs["projectConfig"] = args ? args.projectConfig : undefined;
117
- resourceInputs["targetName"] = args ? args.targetName : undefined;
118
- resourceInputs["threads"] = args ? args.threads : undefined;
119
- resourceInputs["timeouts"] = args ? args.timeouts : undefined;
120
- resourceInputs["type"] = args ? args.type : undefined;
121
- resourceInputs["createdAt"] = undefined /*out*/;
122
- resourceInputs["createdById"] = undefined /*out*/;
123
- resourceInputs["models"] = undefined /*out*/;
124
- resourceInputs["publicKey"] = undefined /*out*/;
125
- resourceInputs["status"] = undefined /*out*/;
126
- }
127
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
128
- super(DbtProject.__pulumiType, name, resourceInputs, opts);
129
- }
130
- }
131
- exports.DbtProject = DbtProject;
132
- /** @internal */
133
- DbtProject.__pulumiType = 'fivetran:index/dbtProject:DbtProject';
134
- //# sourceMappingURL=dbtProject.js.map
package/dbtProject.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"dbtProject.js","sourceRoot":"","sources":["../dbtProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;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;IAmED,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,WAA0C,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,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C,CAAC"}
@@ -1,162 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "./types/input";
3
- import * as outputs from "./types/output";
4
- /**
5
- * This resource is Deprecated, please follow the 1.5.0 migration guide to update the schema.
6
- *
7
- * This resource allows you to add, manage and delete dbt Transformations for existing dbt Model.
8
- * To retrieve available dbt Models use this [Retrieve dbt Project models](https://fivetran.com/docs/rest-api/dbt-transformation-management#retrievedbtprojectmodels) endpoint.
9
- *
10
- * ## Import
11
- *
12
- * 1. To import an existing `fivetran_dbt_transformation` resource into your Terraform state, you need to get **Transformation ID** on the transformation page in your Fivetran dashboard.
13
- *
14
- * 2. Define an empty resource in your `.tf` configuration:
15
- *
16
- * hcl
17
- *
18
- * resource "fivetran_dbt_transformation" "my_imported_fivetran_dbt_transformation" {
19
- *
20
- * }
21
- *
22
- * 3. Run the `pulumi import` command:
23
- *
24
- * ```sh
25
- * $ pulumi import fivetran:index/dbtTransformation:DbtTransformation my_imported_fivetran_dbt_transformation {Transformation ID}
26
- * ```
27
- *
28
- * 4. Use the `terraform state show` command to get the values from the state:
29
- *
30
- * terraform state show 'fivetran_dbt_transformation.my_imported_fivetran_dbt_transformation'
31
- *
32
- * 5. Copy the values and paste them to your `.tf` configuration.
33
- */
34
- export declare class DbtTransformation extends pulumi.CustomResource {
35
- /**
36
- * Get an existing DbtTransformation resource's state with the given name, ID, and optional extra
37
- * properties used to qualify the lookup.
38
- *
39
- * @param name The _unique_ name of the resulting resource.
40
- * @param id The _unique_ provider ID of the resource to lookup.
41
- * @param state Any extra arguments used during the lookup.
42
- * @param opts Optional settings to control the behavior of the CustomResource.
43
- */
44
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DbtTransformationState, opts?: pulumi.CustomResourceOptions): DbtTransformation;
45
- /**
46
- * Returns true if the given object is an instance of DbtTransformation. This is designed to work even
47
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
- */
49
- static isInstance(obj: any): obj is DbtTransformation;
50
- /**
51
- * Identifiers of related connectors.
52
- */
53
- readonly connectorIds: pulumi.Output<string[]>;
54
- /**
55
- * The timestamp of the dbt Transformation creation.
56
- */
57
- readonly createdAt: pulumi.Output<string>;
58
- /**
59
- * The unique identifier for the dbt Model within the Fivetran system.
60
- */
61
- readonly dbtModelId: pulumi.Output<string>;
62
- /**
63
- * Target dbt Model name.
64
- */
65
- readonly dbtModelName: pulumi.Output<string>;
66
- /**
67
- * The unique identifier for the dbt Project within the Fivetran system.
68
- */
69
- readonly dbtProjectId: pulumi.Output<string>;
70
- /**
71
- * Identifiers of related models.
72
- */
73
- readonly modelIds: pulumi.Output<string[]>;
74
- /**
75
- * The dbt Model name.
76
- */
77
- readonly outputModelName: pulumi.Output<string>;
78
- /**
79
- * The field indicating whether the transformation will be set into the paused state. By default, the value is false.
80
- */
81
- readonly paused: pulumi.Output<boolean>;
82
- /**
83
- * The field indicating whether the tests have been configured for dbt Transformation. By default, the value is false.
84
- */
85
- readonly runTests: pulumi.Output<boolean>;
86
- readonly schedule: pulumi.Output<outputs.DbtTransformationSchedule | undefined>;
87
- readonly timeouts: pulumi.Output<outputs.DbtTransformationTimeouts | undefined>;
88
- /**
89
- * Create a DbtTransformation resource with the given unique name, arguments, and options.
90
- *
91
- * @param name The _unique_ name of the resource.
92
- * @param args The arguments to use to populate this resource's properties.
93
- * @param opts A bag of options that control this resource's behavior.
94
- */
95
- constructor(name: string, args: DbtTransformationArgs, opts?: pulumi.CustomResourceOptions);
96
- }
97
- /**
98
- * Input properties used for looking up and filtering DbtTransformation resources.
99
- */
100
- export interface DbtTransformationState {
101
- /**
102
- * Identifiers of related connectors.
103
- */
104
- connectorIds?: pulumi.Input<pulumi.Input<string>[]>;
105
- /**
106
- * The timestamp of the dbt Transformation creation.
107
- */
108
- createdAt?: pulumi.Input<string>;
109
- /**
110
- * The unique identifier for the dbt Model within the Fivetran system.
111
- */
112
- dbtModelId?: pulumi.Input<string>;
113
- /**
114
- * Target dbt Model name.
115
- */
116
- dbtModelName?: pulumi.Input<string>;
117
- /**
118
- * The unique identifier for the dbt Project within the Fivetran system.
119
- */
120
- dbtProjectId?: pulumi.Input<string>;
121
- /**
122
- * Identifiers of related models.
123
- */
124
- modelIds?: pulumi.Input<pulumi.Input<string>[]>;
125
- /**
126
- * The dbt Model name.
127
- */
128
- outputModelName?: pulumi.Input<string>;
129
- /**
130
- * The field indicating whether the transformation will be set into the paused state. By default, the value is false.
131
- */
132
- paused?: pulumi.Input<boolean>;
133
- /**
134
- * The field indicating whether the tests have been configured for dbt Transformation. By default, the value is false.
135
- */
136
- runTests?: pulumi.Input<boolean>;
137
- schedule?: pulumi.Input<inputs.DbtTransformationSchedule>;
138
- timeouts?: pulumi.Input<inputs.DbtTransformationTimeouts>;
139
- }
140
- /**
141
- * The set of arguments for constructing a DbtTransformation resource.
142
- */
143
- export interface DbtTransformationArgs {
144
- /**
145
- * Target dbt Model name.
146
- */
147
- dbtModelName: pulumi.Input<string>;
148
- /**
149
- * The unique identifier for the dbt Project within the Fivetran system.
150
- */
151
- dbtProjectId: pulumi.Input<string>;
152
- /**
153
- * The field indicating whether the transformation will be set into the paused state. By default, the value is false.
154
- */
155
- paused?: pulumi.Input<boolean>;
156
- /**
157
- * The field indicating whether the tests have been configured for dbt Transformation. By default, the value is false.
158
- */
159
- runTests?: pulumi.Input<boolean>;
160
- schedule?: pulumi.Input<inputs.DbtTransformationSchedule>;
161
- timeouts?: pulumi.Input<inputs.DbtTransformationTimeouts>;
162
- }
@@ -1,105 +0,0 @@
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.DbtTransformation = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * This resource is Deprecated, please follow the 1.5.0 migration guide to update the schema.
10
- *
11
- * This resource allows you to add, manage and delete dbt Transformations for existing dbt Model.
12
- * To retrieve available dbt Models use this [Retrieve dbt Project models](https://fivetran.com/docs/rest-api/dbt-transformation-management#retrievedbtprojectmodels) endpoint.
13
- *
14
- * ## Import
15
- *
16
- * 1. To import an existing `fivetran_dbt_transformation` resource into your Terraform state, you need to get **Transformation ID** on the transformation page in your Fivetran dashboard.
17
- *
18
- * 2. Define an empty resource in your `.tf` configuration:
19
- *
20
- * hcl
21
- *
22
- * resource "fivetran_dbt_transformation" "my_imported_fivetran_dbt_transformation" {
23
- *
24
- * }
25
- *
26
- * 3. Run the `pulumi import` command:
27
- *
28
- * ```sh
29
- * $ pulumi import fivetran:index/dbtTransformation:DbtTransformation my_imported_fivetran_dbt_transformation {Transformation ID}
30
- * ```
31
- *
32
- * 4. Use the `terraform state show` command to get the values from the state:
33
- *
34
- * terraform state show 'fivetran_dbt_transformation.my_imported_fivetran_dbt_transformation'
35
- *
36
- * 5. Copy the values and paste them to your `.tf` configuration.
37
- */
38
- class DbtTransformation extends pulumi.CustomResource {
39
- /**
40
- * Get an existing DbtTransformation resource's state with the given name, ID, and optional extra
41
- * properties used to qualify the lookup.
42
- *
43
- * @param name The _unique_ name of the resulting resource.
44
- * @param id The _unique_ provider ID of the resource to lookup.
45
- * @param state Any extra arguments used during the lookup.
46
- * @param opts Optional settings to control the behavior of the CustomResource.
47
- */
48
- static get(name, id, state, opts) {
49
- return new DbtTransformation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
50
- }
51
- /**
52
- * Returns true if the given object is an instance of DbtTransformation. This is designed to work even
53
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
- */
55
- static isInstance(obj) {
56
- if (obj === undefined || obj === null) {
57
- return false;
58
- }
59
- return obj['__pulumiType'] === DbtTransformation.__pulumiType;
60
- }
61
- constructor(name, argsOrState, opts) {
62
- let resourceInputs = {};
63
- opts = opts || {};
64
- if (opts.id) {
65
- const state = argsOrState;
66
- resourceInputs["connectorIds"] = state ? state.connectorIds : undefined;
67
- resourceInputs["createdAt"] = state ? state.createdAt : undefined;
68
- resourceInputs["dbtModelId"] = state ? state.dbtModelId : undefined;
69
- resourceInputs["dbtModelName"] = state ? state.dbtModelName : undefined;
70
- resourceInputs["dbtProjectId"] = state ? state.dbtProjectId : undefined;
71
- resourceInputs["modelIds"] = state ? state.modelIds : undefined;
72
- resourceInputs["outputModelName"] = state ? state.outputModelName : undefined;
73
- resourceInputs["paused"] = state ? state.paused : undefined;
74
- resourceInputs["runTests"] = state ? state.runTests : undefined;
75
- resourceInputs["schedule"] = state ? state.schedule : undefined;
76
- resourceInputs["timeouts"] = state ? state.timeouts : undefined;
77
- }
78
- else {
79
- const args = argsOrState;
80
- if ((!args || args.dbtModelName === undefined) && !opts.urn) {
81
- throw new Error("Missing required property 'dbtModelName'");
82
- }
83
- if ((!args || args.dbtProjectId === undefined) && !opts.urn) {
84
- throw new Error("Missing required property 'dbtProjectId'");
85
- }
86
- resourceInputs["dbtModelName"] = args ? args.dbtModelName : undefined;
87
- resourceInputs["dbtProjectId"] = args ? args.dbtProjectId : undefined;
88
- resourceInputs["paused"] = args ? args.paused : undefined;
89
- resourceInputs["runTests"] = args ? args.runTests : undefined;
90
- resourceInputs["schedule"] = args ? args.schedule : undefined;
91
- resourceInputs["timeouts"] = args ? args.timeouts : undefined;
92
- resourceInputs["connectorIds"] = undefined /*out*/;
93
- resourceInputs["createdAt"] = undefined /*out*/;
94
- resourceInputs["dbtModelId"] = undefined /*out*/;
95
- resourceInputs["modelIds"] = undefined /*out*/;
96
- resourceInputs["outputModelName"] = undefined /*out*/;
97
- }
98
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
99
- super(DbtTransformation.__pulumiType, name, resourceInputs, opts);
100
- }
101
- }
102
- exports.DbtTransformation = DbtTransformation;
103
- /** @internal */
104
- DbtTransformation.__pulumiType = 'fivetran:index/dbtTransformation:DbtTransformation';
105
- //# sourceMappingURL=dbtTransformation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dbtTransformation.js","sourceRo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i";
2
- import * as inputs from "./types/input";
3
- import * as outputs from "./types/output";
4
- /**
5
- * This data source returns a list of all dbt Models available for specified dbt Project id.
6
- *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as fivetran from "@pulumi/fivetran";
12
- *
13
- * const myModels = fivetran.getDbtModels({
14
- * projectId: "project_id",
15
- * });
16
- * ```
17
- */
18
- export declare function getDbtModels(args: GetDbtModelsArgs, opts?: pulumi.InvokeOptions): Promise<GetDbtModelsResult>;
19
- /**
20
- * A collection of arguments for invoking getDbtModels.
21
- */
22
- export interface GetDbtModelsArgs {
23
- models?: inputs.GetDbtModelsModel[];
24
- /**
25
- * The unique identifier for the dbt Project within the Fivetran system.
26
- */
27
- projectId: string;
28
- }
29
- /**
30
- * A collection of values returned by getDbtModels.
31
- */
32
- export interface GetDbtModelsResult {
33
- /**
34
- * The ID of this datasource (equals to `projectId`).
35
- */
36
- readonly id: string;
37
- readonly models?: outputs.GetDbtModelsModel[];
38
- /**
39
- * The unique identifier for the dbt Project within the Fivetran system.
40
- */
41
- readonly projectId: string;
42
- }
43
- /**
44
- * This data source returns a list of all dbt Models available for specified dbt Project id.
45
- *
46
- * ## Example Usage
47
- *
48
- * ```typescript
49
- * import * as pulumi from "@pulumi/pulumi";
50
- * import * as fivetran from "@pulumi/fivetran";
51
- *
52
- * const myModels = fivetran.getDbtModels({
53
- * projectId: "project_id",
54
- * });
55
- * ```
56
- */
57
- export declare function getDbtModelsOutput(args: GetDbtModelsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDbtModelsResult>;
58
- /**
59
- * A collection of arguments for invoking getDbtModels.
60
- */
61
- export interface GetDbtModelsOutputArgs {
62
- models?: pulumi.Input<pulumi.Input<inputs.GetDbtModelsModelArgs>[]>;
63
- /**
64
- * The unique identifier for the dbt Project within the Fivetran system.
65
- */
66
- projectId: pulumi.Input<string>;
67
- }
package/getDbtModels.js DELETED
@@ -1,52 +0,0 @@
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.getDbtModelsOutput = exports.getDbtModels = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * This data source returns a list of all dbt Models available for specified dbt Project id.
10
- *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as fivetran from "@pulumi/fivetran";
16
- *
17
- * const myModels = fivetran.getDbtModels({
18
- * projectId: "project_id",
19
- * });
20
- * ```
21
- */
22
- function getDbtModels(args, opts) {
23
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
- return pulumi.runtime.invoke("fivetran:index/getDbtModels:getDbtModels", {
25
- "models": args.models,
26
- "projectId": args.projectId,
27
- }, opts);
28
- }
29
- exports.getDbtModels = getDbtModels;
30
- /**
31
- * This data source returns a list of all dbt Models available for specified dbt Project id.
32
- *
33
- * ## Example Usage
34
- *
35
- * ```typescript
36
- * import * as pulumi from "@pulumi/pulumi";
37
- * import * as fivetran from "@pulumi/fivetran";
38
- *
39
- * const myModels = fivetran.getDbtModels({
40
- * projectId: "project_id",
41
- * });
42
- * ```
43
- */
44
- function getDbtModelsOutput(args, opts) {
45
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
- return pulumi.runtime.invokeOutput("fivetran:index/getDbtModels:getDbtModels", {
47
- "models": args.models,
48
- "projectId": args.projectId,
49
- }, opts);
50
- }
51
- exports.getDbtModelsOutput = getDbtModelsOutput;
52
- //# sourceMappingURL=getDbtModels.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getDbtModels.js","sourceRoot":"","sources":["../getDbtModels.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AA2BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC"}
@@ -1,112 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "./types/input";
3
- import * as outputs from "./types/output";
4
- /**
5
- * This data source returns a dbt Project object.
6
- *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as fivetran from "@pulumi/fivetran";
12
- *
13
- * const project = fivetran.getDbtProject({
14
- * id: "project_id",
15
- * });
16
- * ```
17
- */
18
- export declare function getDbtProject(args: GetDbtProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetDbtProjectResult>;
19
- /**
20
- * A collection of arguments for invoking getDbtProject.
21
- */
22
- export interface GetDbtProjectArgs {
23
- /**
24
- * The unique identifier for the dbt Project within the Fivetran system.
25
- */
26
- id: string;
27
- projectConfig?: inputs.GetDbtProjectProjectConfig;
28
- }
29
- /**
30
- * A collection of values returned by getDbtProject.
31
- */
32
- export interface GetDbtProjectResult {
33
- /**
34
- * The timestamp of the dbt Project creation.
35
- */
36
- readonly createdAt: string;
37
- /**
38
- * The unique identifier for the User within the Fivetran system who created the dbt Project.
39
- */
40
- readonly createdById: string;
41
- /**
42
- * The version of dbt that should run the project. We support the following versions: 0.18.0 - 0.18.2, 0.19.0 - 0.19.2, 0.20.0 - 0.20.2, 0.21.0 - 0.21.1, 1.0.0, 1.0.1, 1.0.3 - 1.0.9, 1.1.0 - 1.1.3, 1.2.0 - 1.2.4, 1.3.0 - 1.3.2, 1.4.1.
43
- */
44
- readonly dbtVersion: string;
45
- /**
46
- * Default schema in destination. This production schema will contain your transformed data.
47
- */
48
- readonly defaultSchema: string;
49
- /**
50
- * Should resource wait for project to finish initialization. Default value: true.
51
- */
52
- readonly ensureReadiness: boolean;
53
- /**
54
- * List of environment variables defined as key-value pairs in the raw string format using = as a separator. The variable name should have the DBT_ prefix and can contain A-Z, 0-9, dash, underscore, or dot characters. Example: "DBT*VARIABLE=variable*value"
55
- */
56
- readonly environmentVars: string[];
57
- /**
58
- * The unique identifier for the group within the Fivetran system.
59
- */
60
- readonly groupId: string;
61
- /**
62
- * The unique identifier for the dbt Project within the Fivetran system.
63
- */
64
- readonly id: string;
65
- readonly models: outputs.GetDbtProjectModel[];
66
- readonly projectConfig?: outputs.GetDbtProjectProjectConfig;
67
- /**
68
- * Public key to grant Fivetran SSH access to git repository.
69
- */
70
- readonly publicKey: string;
71
- /**
72
- * Status of dbt Project (NOT_READY, READY, ERROR).
73
- */
74
- readonly status: string;
75
- /**
76
- * Target name to set or override the value from the deployment.yaml
77
- */
78
- readonly targetName: string;
79
- /**
80
- * The number of threads dbt will use (from 1 to 32). Make sure this value is compatible with your destination type. For example, Snowflake supports only 8 concurrent queries on an X-Small warehouse.
81
- */
82
- readonly threads: number;
83
- /**
84
- * Type of dbt Project. Currently only `GIT` supported. Empty value will be considered as default (GIT).
85
- */
86
- readonly type: string;
87
- }
88
- /**
89
- * This data source returns a dbt Project object.
90
- *
91
- * ## Example Usage
92
- *
93
- * ```typescript
94
- * import * as pulumi from "@pulumi/pulumi";
95
- * import * as fivetran from "@pulumi/fivetran";
96
- *
97
- * const project = fivetran.getDbtProject({
98
- * id: "project_id",
99
- * });
100
- * ```
101
- */
102
- export declare function getDbtProjectOutput(args: GetDbtProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDbtProjectResult>;
103
- /**
104
- * A collection of arguments for invoking getDbtProject.
105
- */
106
- export interface GetDbtProjectOutputArgs {
107
- /**
108
- * The unique identifier for the dbt Project within the Fivetran system.
109
- */
110
- id: pulumi.Input<string>;
111
- projectConfig?: pulumi.Input<inputs.GetDbtProjectProjectConfigArgs>;
112
- }