@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/config/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from "./vars";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
package/config/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
package/config/vars.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export declare const apiKey: string | undefined;
2
2
  export declare const apiSecret: string | undefined;
3
3
  export declare const apiUrl: string | undefined;
4
+ //# sourceMappingURL=vars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;AAQhD,MAAM,CAAC,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;AAQnD,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC"}
package/config/vars.js CHANGED
@@ -1,21 +1,42 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
- const pulumi = require("@pulumi/pulumi");
6
- const utilities = require("../utilities");
28
+ const pulumi = __importStar(require("@pulumi/pulumi"));
29
+ const utilities = __importStar(require("../utilities"));
7
30
  const __config = new pulumi.Config("fivetran");
8
31
  Object.defineProperty(exports, "apiKey", {
9
32
  get() {
10
- var _a;
11
- return (_a = __config.get("apiKey")) !== null && _a !== void 0 ? _a : utilities.getEnv("FIVETRAN_API_KEY");
33
+ return __config.get("apiKey") ?? utilities.getEnv("FIVETRAN_API_KEY");
12
34
  },
13
35
  enumerable: true,
14
36
  });
15
37
  Object.defineProperty(exports, "apiSecret", {
16
38
  get() {
17
- var _a;
18
- return (_a = __config.get("apiSecret")) !== null && _a !== void 0 ? _a : utilities.getEnv("FIVETRAN_API_SECRET");
39
+ return __config.get("apiSecret") ?? utilities.getEnv("FIVETRAN_API_SECRET");
19
40
  },
20
41
  enumerable: true,
21
42
  });
@@ -1 +1 @@
1
- {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAG/C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IAC1E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAChF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
1
+ {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAG/C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IAC1E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAChF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
package/connector.d.ts CHANGED
@@ -2,8 +2,94 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
+ * This resource allows you to create, update, and delete connectors.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
12
+ *
13
+ * const amplitude = new fivetran.Connector("amplitude", {
14
+ * groupId: group.id,
15
+ * service: "amplitude",
16
+ * destinationSchema: {
17
+ * name: "amplitude_connector",
18
+ * },
19
+ * config: {
20
+ * projectCredentials: [
21
+ * {
22
+ * project: "project1",
23
+ * apiKey: "my_api_key",
24
+ * secretKey: "my_secret_key",
25
+ * },
26
+ * {
27
+ * project: "project2",
28
+ * apiKey: "my_api_key",
29
+ * secretKey: "my_secret_key",
30
+ * },
31
+ * ],
32
+ * },
33
+ * });
34
+ * ```
35
+ *
36
+ * > Use `destinationSchema` to define connector schema configuration. Field `destination_schema.name` will be mapped into `config.schema` in REST API payload. Field `destination_schema.table` will be mapped into `config.table` in REST API payload. Field `destination_schema.prefix` will be mapped into `config.schema_prefix` in REST API payload. Field `destination_schema.table_group_name` will be mapped into `config.table_group_name` in REST API payload. Specify values according to [public documentation](https://fivetran.com/docs/rest-api/connectors/config) for particular connector type.
37
+ *
38
+ * ## GitHub connector example
39
+ *
40
+ * To authorize a GitHub connector via terraform using personal access token you should specify `authMode`, `username` and `pat` inside `config` block instead of `auth` and set `runSetupTests` to `true`:
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
45
+ *
46
+ * const myGithubConnector = new fivetran.Connector("my_github_connector", {
47
+ * groupId: "group_id",
48
+ * service: "github",
49
+ * runSetupTests: true,
50
+ * destinationSchema: {
51
+ * name: "github_connector",
52
+ * },
53
+ * config: {
54
+ * syncMode: "AllRepositories",
55
+ * useWebhooks: false,
56
+ * authMode: "PersonalAccessToken",
57
+ * username: "git-hub-user-name",
58
+ * pat: "ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
59
+ * },
60
+ * });
61
+ * ```
62
+ *
5
63
  * ## Import
6
64
  *
65
+ * 1. To import an existing `fivetran.Connector` resource into your Terraform state, you need to get **Fivetran Connector ID** on the **Setup** tab of the connector page in your Fivetran dashboard.
66
+ *
67
+ * 2. Retrieve all connectors in a particular group using the [fivetran.getConnectors data source](https://www.terraform.io/docs/data-sources/connectors)
68
+ *
69
+ * 3. Define an empty resource in your `.tf` configuration:
70
+ *
71
+ * ```typescript
72
+ * import * as pulumi from "@pulumi/pulumi";
73
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
74
+ *
75
+ * const myImportedConnector = new fivetran.Connector("my_imported_connector", {});
76
+ * ```
77
+ *
78
+ * 4. Run the `pulumi import` command:
79
+ *
80
+ * ```sh
81
+ * terraform import fivetran_connector.my_imported_connector {your Fivetran Connector ID}
82
+ * ```
83
+ *
84
+ * 5. Use the `terraform state show` command to get the values from the state:
85
+ *
86
+ * ```sh
87
+ * terraform state show 'fivetran_connector.my_imported_connector'
88
+ * ```
89
+ * 6. Copy the values and paste them to your `.tf` configuration.
90
+ *
91
+ * > The `config` object in the state contains all properties defined in the schema. You need to remove properties from the `config` that are not related to connectors. See the [Fivetran REST API documentation](https://fivetran.com/docs/rest-api/connectors/config) for reference to find the properties you need to keep in the `config` section.
92
+ *
7
93
  * ### How to authorize connector
8
94
  */
9
95
  export declare class Connector extends pulumi.CustomResource {
@@ -33,13 +119,11 @@ export declare class Connector extends pulumi.CustomResource {
33
119
  */
34
120
  readonly createdAt: pulumi.Output<string>;
35
121
  /**
36
- * The level of data delay notification threshold. Possible values: LOW, NORMAL, HIGH, CUSTOM. The default value NORMAL.
37
- * CUSTOM is only available for customers using the Enterprise plan or above.
122
+ * The level of data delay notification threshold. Possible values: LOW, NORMAL, HIGH, CUSTOM. The default value NORMAL. CUSTOM is only available for customers using the Enterprise plan or above.
38
123
  */
39
124
  readonly dataDelaySensitivity: pulumi.Output<string | undefined>;
40
125
  /**
41
- * Custom sync delay notification threshold in minutes. The default value is 0. This parameter is only used when
42
- * dataDelaySensitivity set to CUSTOM.
126
+ * Custom sync delay notification threshold in minutes. The default value is 0. This parameter is only used when dataDelaySensitivity set to CUSTOM.
43
127
  */
44
128
  readonly dataDelayThreshold: pulumi.Output<number>;
45
129
  readonly destinationSchema: pulumi.Output<outputs.ConnectorDestinationSchema | undefined>;
@@ -48,13 +132,11 @@ export declare class Connector extends pulumi.CustomResource {
48
132
  */
49
133
  readonly groupId: pulumi.Output<string>;
50
134
  /**
51
- * The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the
52
- * value is specified, the system will try to associate the connection with an existing agent.
135
+ * The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
53
136
  */
54
137
  readonly hybridDeploymentAgentId: pulumi.Output<string | undefined>;
55
138
  /**
56
- * The name used both as the connector's name within the Fivetran system and as the source schema's name within your
57
- * destination.
139
+ * The name used both as the connector's name within the Fivetran system and as the source schema's name within your destination.
58
140
  */
59
141
  readonly name: pulumi.Output<string>;
60
142
  /**
@@ -79,15 +161,11 @@ export declare class Connector extends pulumi.CustomResource {
79
161
  readonly service: pulumi.Output<string>;
80
162
  readonly timeouts: pulumi.Output<outputs.ConnectorTimeouts | undefined>;
81
163
  /**
82
- * Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not
83
- * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
84
- * certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
164
+ * Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
85
165
  */
86
166
  readonly trustCertificates: pulumi.Output<boolean>;
87
167
  /**
88
- * Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not
89
- * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
90
- * fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
168
+ * Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
91
169
  */
92
170
  readonly trustFingerprints: pulumi.Output<boolean>;
93
171
  /**
@@ -114,13 +192,11 @@ export interface ConnectorState {
114
192
  */
115
193
  createdAt?: pulumi.Input<string>;
116
194
  /**
117
- * The level of data delay notification threshold. Possible values: LOW, NORMAL, HIGH, CUSTOM. The default value NORMAL.
118
- * CUSTOM is only available for customers using the Enterprise plan or above.
195
+ * The level of data delay notification threshold. Possible values: LOW, NORMAL, HIGH, CUSTOM. The default value NORMAL. CUSTOM is only available for customers using the Enterprise plan or above.
119
196
  */
120
197
  dataDelaySensitivity?: pulumi.Input<string>;
121
198
  /**
122
- * Custom sync delay notification threshold in minutes. The default value is 0. This parameter is only used when
123
- * dataDelaySensitivity set to CUSTOM.
199
+ * Custom sync delay notification threshold in minutes. The default value is 0. This parameter is only used when dataDelaySensitivity set to CUSTOM.
124
200
  */
125
201
  dataDelayThreshold?: pulumi.Input<number>;
126
202
  destinationSchema?: pulumi.Input<inputs.ConnectorDestinationSchema>;
@@ -129,13 +205,11 @@ export interface ConnectorState {
129
205
  */
130
206
  groupId?: pulumi.Input<string>;
131
207
  /**
132
- * The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the
133
- * value is specified, the system will try to associate the connection with an existing agent.
208
+ * The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
134
209
  */
135
210
  hybridDeploymentAgentId?: pulumi.Input<string>;
136
211
  /**
137
- * The name used both as the connector's name within the Fivetran system and as the source schema's name within your
138
- * destination.
212
+ * The name used both as the connector's name within the Fivetran system and as the source schema's name within your destination.
139
213
  */
140
214
  name?: pulumi.Input<string>;
141
215
  /**
@@ -160,15 +234,11 @@ export interface ConnectorState {
160
234
  service?: pulumi.Input<string>;
161
235
  timeouts?: pulumi.Input<inputs.ConnectorTimeouts>;
162
236
  /**
163
- * Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not
164
- * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
165
- * certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
237
+ * Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
166
238
  */
167
239
  trustCertificates?: pulumi.Input<boolean>;
168
240
  /**
169
- * Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not
170
- * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
171
- * fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
241
+ * Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
172
242
  */
173
243
  trustFingerprints?: pulumi.Input<boolean>;
174
244
  }
@@ -179,13 +249,11 @@ export interface ConnectorArgs {
179
249
  auth?: pulumi.Input<inputs.ConnectorAuth>;
180
250
  config?: pulumi.Input<inputs.ConnectorConfig>;
181
251
  /**
182
- * The level of data delay notification threshold. Possible values: LOW, NORMAL, HIGH, CUSTOM. The default value NORMAL.
183
- * CUSTOM is only available for customers using the Enterprise plan or above.
252
+ * The level of data delay notification threshold. Possible values: LOW, NORMAL, HIGH, CUSTOM. The default value NORMAL. CUSTOM is only available for customers using the Enterprise plan or above.
184
253
  */
185
254
  dataDelaySensitivity?: pulumi.Input<string>;
186
255
  /**
187
- * Custom sync delay notification threshold in minutes. The default value is 0. This parameter is only used when
188
- * dataDelaySensitivity set to CUSTOM.
256
+ * Custom sync delay notification threshold in minutes. The default value is 0. This parameter is only used when dataDelaySensitivity set to CUSTOM.
189
257
  */
190
258
  dataDelayThreshold?: pulumi.Input<number>;
191
259
  destinationSchema?: pulumi.Input<inputs.ConnectorDestinationSchema>;
@@ -194,8 +262,7 @@ export interface ConnectorArgs {
194
262
  */
195
263
  groupId: pulumi.Input<string>;
196
264
  /**
197
- * The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the
198
- * value is specified, the system will try to associate the connection with an existing agent.
265
+ * The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
199
266
  */
200
267
  hybridDeploymentAgentId?: pulumi.Input<string>;
201
268
  /**
@@ -220,15 +287,12 @@ export interface ConnectorArgs {
220
287
  service: pulumi.Input<string>;
221
288
  timeouts?: pulumi.Input<inputs.ConnectorTimeouts>;
222
289
  /**
223
- * Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not
224
- * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
225
- * certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
290
+ * Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
226
291
  */
227
292
  trustCertificates?: pulumi.Input<boolean>;
228
293
  /**
229
- * Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not
230
- * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
231
- * fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
294
+ * Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
232
295
  */
233
296
  trustFingerprints?: pulumi.Input<boolean>;
234
297
  }
298
+ //# sourceMappingURL=connector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":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AAC,CAAC;IAC1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;CAC7C"}
package/connector.js CHANGED
@@ -1,13 +1,122 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
28
  exports.Connector = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
8
31
  /**
32
+ * This resource allows you to create, update, and delete connectors.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
39
+ *
40
+ * const amplitude = new fivetran.Connector("amplitude", {
41
+ * groupId: group.id,
42
+ * service: "amplitude",
43
+ * destinationSchema: {
44
+ * name: "amplitude_connector",
45
+ * },
46
+ * config: {
47
+ * projectCredentials: [
48
+ * {
49
+ * project: "project1",
50
+ * apiKey: "my_api_key",
51
+ * secretKey: "my_secret_key",
52
+ * },
53
+ * {
54
+ * project: "project2",
55
+ * apiKey: "my_api_key",
56
+ * secretKey: "my_secret_key",
57
+ * },
58
+ * ],
59
+ * },
60
+ * });
61
+ * ```
62
+ *
63
+ * > Use `destinationSchema` to define connector schema configuration. Field `destination_schema.name` will be mapped into `config.schema` in REST API payload. Field `destination_schema.table` will be mapped into `config.table` in REST API payload. Field `destination_schema.prefix` will be mapped into `config.schema_prefix` in REST API payload. Field `destination_schema.table_group_name` will be mapped into `config.table_group_name` in REST API payload. Specify values according to [public documentation](https://fivetran.com/docs/rest-api/connectors/config) for particular connector type.
64
+ *
65
+ * ## GitHub connector example
66
+ *
67
+ * To authorize a GitHub connector via terraform using personal access token you should specify `authMode`, `username` and `pat` inside `config` block instead of `auth` and set `runSetupTests` to `true`:
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
72
+ *
73
+ * const myGithubConnector = new fivetran.Connector("my_github_connector", {
74
+ * groupId: "group_id",
75
+ * service: "github",
76
+ * runSetupTests: true,
77
+ * destinationSchema: {
78
+ * name: "github_connector",
79
+ * },
80
+ * config: {
81
+ * syncMode: "AllRepositories",
82
+ * useWebhooks: false,
83
+ * authMode: "PersonalAccessToken",
84
+ * username: "git-hub-user-name",
85
+ * pat: "ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
86
+ * },
87
+ * });
88
+ * ```
89
+ *
9
90
  * ## Import
10
91
  *
92
+ * 1. To import an existing `fivetran.Connector` resource into your Terraform state, you need to get **Fivetran Connector ID** on the **Setup** tab of the connector page in your Fivetran dashboard.
93
+ *
94
+ * 2. Retrieve all connectors in a particular group using the [fivetran.getConnectors data source](https://www.terraform.io/docs/data-sources/connectors)
95
+ *
96
+ * 3. Define an empty resource in your `.tf` configuration:
97
+ *
98
+ * ```typescript
99
+ * import * as pulumi from "@pulumi/pulumi";
100
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
101
+ *
102
+ * const myImportedConnector = new fivetran.Connector("my_imported_connector", {});
103
+ * ```
104
+ *
105
+ * 4. Run the `pulumi import` command:
106
+ *
107
+ * ```sh
108
+ * terraform import fivetran_connector.my_imported_connector {your Fivetran Connector ID}
109
+ * ```
110
+ *
111
+ * 5. Use the `terraform state show` command to get the values from the state:
112
+ *
113
+ * ```sh
114
+ * terraform state show 'fivetran_connector.my_imported_connector'
115
+ * ```
116
+ * 6. Copy the values and paste them to your `.tf` configuration.
117
+ *
118
+ * > The `config` object in the state contains all properties defined in the schema. You need to remove properties from the `config` that are not related to connectors. See the [Fivetran REST API documentation](https://fivetran.com/docs/rest-api/connectors/config) for reference to find the properties you need to keep in the `config` section.
119
+ *
11
120
  * ### How to authorize connector
12
121
  */
13
122
  class Connector extends pulumi.CustomResource {
@@ -21,8 +130,10 @@ class Connector extends pulumi.CustomResource {
21
130
  * @param opts Optional settings to control the behavior of the CustomResource.
22
131
  */
23
132
  static get(name, id, state, opts) {
24
- return new Connector(name, state, Object.assign(Object.assign({}, opts), { id: id }));
133
+ return new Connector(name, state, { ...opts, id: id });
25
134
  }
135
+ /** @internal */
136
+ static __pulumiType = 'fivetran:index/connector:Connector';
26
137
  /**
27
138
  * Returns true if the given object is an instance of Connector. This is designed to work even
28
139
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
@@ -38,48 +149,48 @@ class Connector extends pulumi.CustomResource {
38
149
  opts = opts || {};
39
150
  if (opts.id) {
40
151
  const state = argsOrState;
41
- resourceInputs["auth"] = state ? state.auth : undefined;
42
- resourceInputs["config"] = state ? state.config : undefined;
43
- resourceInputs["connectedBy"] = state ? state.connectedBy : undefined;
44
- resourceInputs["createdAt"] = state ? state.createdAt : undefined;
45
- resourceInputs["dataDelaySensitivity"] = state ? state.dataDelaySensitivity : undefined;
46
- resourceInputs["dataDelayThreshold"] = state ? state.dataDelayThreshold : undefined;
47
- resourceInputs["destinationSchema"] = state ? state.destinationSchema : undefined;
48
- resourceInputs["groupId"] = state ? state.groupId : undefined;
49
- resourceInputs["hybridDeploymentAgentId"] = state ? state.hybridDeploymentAgentId : undefined;
50
- resourceInputs["name"] = state ? state.name : undefined;
51
- resourceInputs["networkingMethod"] = state ? state.networkingMethod : undefined;
52
- resourceInputs["privateLinkId"] = state ? state.privateLinkId : undefined;
53
- resourceInputs["proxyAgentId"] = state ? state.proxyAgentId : undefined;
54
- resourceInputs["runSetupTests"] = state ? state.runSetupTests : undefined;
55
- resourceInputs["service"] = state ? state.service : undefined;
56
- resourceInputs["timeouts"] = state ? state.timeouts : undefined;
57
- resourceInputs["trustCertificates"] = state ? state.trustCertificates : undefined;
58
- resourceInputs["trustFingerprints"] = state ? state.trustFingerprints : undefined;
152
+ resourceInputs["auth"] = state?.auth;
153
+ resourceInputs["config"] = state?.config;
154
+ resourceInputs["connectedBy"] = state?.connectedBy;
155
+ resourceInputs["createdAt"] = state?.createdAt;
156
+ resourceInputs["dataDelaySensitivity"] = state?.dataDelaySensitivity;
157
+ resourceInputs["dataDelayThreshold"] = state?.dataDelayThreshold;
158
+ resourceInputs["destinationSchema"] = state?.destinationSchema;
159
+ resourceInputs["groupId"] = state?.groupId;
160
+ resourceInputs["hybridDeploymentAgentId"] = state?.hybridDeploymentAgentId;
161
+ resourceInputs["name"] = state?.name;
162
+ resourceInputs["networkingMethod"] = state?.networkingMethod;
163
+ resourceInputs["privateLinkId"] = state?.privateLinkId;
164
+ resourceInputs["proxyAgentId"] = state?.proxyAgentId;
165
+ resourceInputs["runSetupTests"] = state?.runSetupTests;
166
+ resourceInputs["service"] = state?.service;
167
+ resourceInputs["timeouts"] = state?.timeouts;
168
+ resourceInputs["trustCertificates"] = state?.trustCertificates;
169
+ resourceInputs["trustFingerprints"] = state?.trustFingerprints;
59
170
  }
60
171
  else {
61
172
  const args = argsOrState;
62
- if ((!args || args.groupId === undefined) && !opts.urn) {
173
+ if (args?.groupId === undefined && !opts.urn) {
63
174
  throw new Error("Missing required property 'groupId'");
64
175
  }
65
- if ((!args || args.service === undefined) && !opts.urn) {
176
+ if (args?.service === undefined && !opts.urn) {
66
177
  throw new Error("Missing required property 'service'");
67
178
  }
68
- resourceInputs["auth"] = args ? args.auth : undefined;
69
- resourceInputs["config"] = args ? args.config : undefined;
70
- resourceInputs["dataDelaySensitivity"] = args ? args.dataDelaySensitivity : undefined;
71
- resourceInputs["dataDelayThreshold"] = args ? args.dataDelayThreshold : undefined;
72
- resourceInputs["destinationSchema"] = args ? args.destinationSchema : undefined;
73
- resourceInputs["groupId"] = args ? args.groupId : undefined;
74
- resourceInputs["hybridDeploymentAgentId"] = args ? args.hybridDeploymentAgentId : undefined;
75
- resourceInputs["networkingMethod"] = args ? args.networkingMethod : undefined;
76
- resourceInputs["privateLinkId"] = args ? args.privateLinkId : undefined;
77
- resourceInputs["proxyAgentId"] = args ? args.proxyAgentId : undefined;
78
- resourceInputs["runSetupTests"] = args ? args.runSetupTests : undefined;
79
- resourceInputs["service"] = args ? args.service : undefined;
80
- resourceInputs["timeouts"] = args ? args.timeouts : undefined;
81
- resourceInputs["trustCertificates"] = args ? args.trustCertificates : undefined;
82
- resourceInputs["trustFingerprints"] = args ? args.trustFingerprints : undefined;
179
+ resourceInputs["auth"] = args?.auth;
180
+ resourceInputs["config"] = args?.config;
181
+ resourceInputs["dataDelaySensitivity"] = args?.dataDelaySensitivity;
182
+ resourceInputs["dataDelayThreshold"] = args?.dataDelayThreshold;
183
+ resourceInputs["destinationSchema"] = args?.destinationSchema;
184
+ resourceInputs["groupId"] = args?.groupId;
185
+ resourceInputs["hybridDeploymentAgentId"] = args?.hybridDeploymentAgentId;
186
+ resourceInputs["networkingMethod"] = args?.networkingMethod;
187
+ resourceInputs["privateLinkId"] = args?.privateLinkId;
188
+ resourceInputs["proxyAgentId"] = args?.proxyAgentId;
189
+ resourceInputs["runSetupTests"] = args?.runSetupTests;
190
+ resourceInputs["service"] = args?.service;
191
+ resourceInputs["timeouts"] = args?.timeouts;
192
+ resourceInputs["trustCertificates"] = args?.trustCertificates;
193
+ resourceInputs["trustFingerprints"] = args?.trustFingerprints;
83
194
  resourceInputs["connectedBy"] = undefined /*out*/;
84
195
  resourceInputs["createdAt"] = undefined /*out*/;
85
196
  resourceInputs["name"] = undefined /*out*/;
@@ -89,6 +200,4 @@ class Connector extends pulumi.CustomResource {
89
200
  }
90
201
  }
91
202
  exports.Connector = Connector;
92
- /** @internal */
93
- Connector.__pulumiType = 'fivetran:index/connector:Connector';
94
203
  //# sourceMappingURL=connector.js.map
package/connector.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"connector.js","sourceRoot":"","sources":["../connector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA+ED,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAk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