@ryan-pip/pulumi-fivetran 0.1.0

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 (199) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +56 -0
  3. package/config/index.d.ts +1 -0
  4. package/config/index.js +21 -0
  5. package/config/index.js.map +1 -0
  6. package/config/vars.d.ts +3 -0
  7. package/config/vars.js +28 -0
  8. package/config/vars.js.map +1 -0
  9. package/connector.d.ts +192 -0
  10. package/connector.js +88 -0
  11. package/connector.js.map +1 -0
  12. package/connectorCertificates.d.ts +53 -0
  13. package/connectorCertificates.js +54 -0
  14. package/connectorCertificates.js.map +1 -0
  15. package/connectorFingerprints.d.ts +103 -0
  16. package/connectorFingerprints.js +104 -0
  17. package/connectorFingerprints.js.map +1 -0
  18. package/connectorSchedule.d.ts +169 -0
  19. package/connectorSchedule.js +123 -0
  20. package/connectorSchedule.js.map +1 -0
  21. package/connectorSchemaConfig.d.ts +130 -0
  22. package/connectorSchemaConfig.js +72 -0
  23. package/connectorSchemaConfig.js.map +1 -0
  24. package/dbtProject.d.ts +205 -0
  25. package/dbtProject.js +117 -0
  26. package/dbtProject.js.map +1 -0
  27. package/dbtTransformation.d.ts +162 -0
  28. package/dbtTransformation.js +105 -0
  29. package/dbtTransformation.js.map +1 -0
  30. package/destination.d.ts +216 -0
  31. package/destination.js +114 -0
  32. package/destination.js.map +1 -0
  33. package/destinationCertificates.d.ts +53 -0
  34. package/destinationCertificates.js +54 -0
  35. package/destinationCertificates.js.map +1 -0
  36. package/destinationFingerprints.d.ts +103 -0
  37. package/destinationFingerprints.js +104 -0
  38. package/destinationFingerprints.js.map +1 -0
  39. package/externalLogging.d.ts +118 -0
  40. package/externalLogging.js +92 -0
  41. package/externalLogging.js.map +1 -0
  42. package/getConnector.d.ts +76 -0
  43. package/getConnector.js +50 -0
  44. package/getConnector.js.map +1 -0
  45. package/getConnectorCertificates.d.ts +39 -0
  46. package/getConnectorCertificates.js +20 -0
  47. package/getConnectorCertificates.js.map +1 -0
  48. package/getConnectorFingerprints.d.ts +67 -0
  49. package/getConnectorFingerprints.js +48 -0
  50. package/getConnectorFingerprints.js.map +1 -0
  51. package/getConnectorsMetadata.d.ts +51 -0
  52. package/getConnectorsMetadata.js +44 -0
  53. package/getConnectorsMetadata.js.map +1 -0
  54. package/getDbtModels.d.ts +67 -0
  55. package/getDbtModels.js +48 -0
  56. package/getDbtModels.js.map +1 -0
  57. package/getDbtProject.d.ts +112 -0
  58. package/getDbtProject.js +48 -0
  59. package/getDbtProject.js.map +1 -0
  60. package/getDbtProjects.d.ts +38 -0
  61. package/getDbtProjects.js +41 -0
  62. package/getDbtProjects.js.map +1 -0
  63. package/getDbtTransformation.d.ts +99 -0
  64. package/getDbtTransformation.js +48 -0
  65. package/getDbtTransformation.js.map +1 -0
  66. package/getDestination.d.ts +62 -0
  67. package/getDestination.js +48 -0
  68. package/getDestination.js.map +1 -0
  69. package/getDestinationCertificates.d.ts +39 -0
  70. package/getDestinationCertificates.js +20 -0
  71. package/getDestinationCertificates.js.map +1 -0
  72. package/getDestinationFingerprints.d.ts +67 -0
  73. package/getDestinationFingerprints.js +48 -0
  74. package/getDestinationFingerprints.js.map +1 -0
  75. package/getExternalLogging.d.ts +87 -0
  76. package/getExternalLogging.js +49 -0
  77. package/getExternalLogging.js.map +1 -0
  78. package/getGroup.d.ts +70 -0
  79. package/getGroup.js +47 -0
  80. package/getGroup.js.map +1 -0
  81. package/getGroupConnectors.d.ts +77 -0
  82. package/getGroupConnectors.js +51 -0
  83. package/getGroupConnectors.js.map +1 -0
  84. package/getGroupServiceAccount.d.ts +62 -0
  85. package/getGroupServiceAccount.js +47 -0
  86. package/getGroupServiceAccount.js.map +1 -0
  87. package/getGroupSshKey.d.ts +62 -0
  88. package/getGroupSshKey.js +47 -0
  89. package/getGroupSshKey.js.map +1 -0
  90. package/getGroupUsers.d.ts +63 -0
  91. package/getGroupUsers.js +48 -0
  92. package/getGroupUsers.js.map +1 -0
  93. package/getGroups.d.ts +51 -0
  94. package/getGroups.js +44 -0
  95. package/getGroups.js.map +1 -0
  96. package/getLocalProcessingAgent.d.ts +72 -0
  97. package/getLocalProcessingAgent.js +47 -0
  98. package/getLocalProcessingAgent.js.map +1 -0
  99. package/getLocalProcessingAgents.d.ts +38 -0
  100. package/getLocalProcessingAgents.js +41 -0
  101. package/getLocalProcessingAgents.js.map +1 -0
  102. package/getProxyAgent.d.ts +82 -0
  103. package/getProxyAgent.js +47 -0
  104. package/getProxyAgent.js.map +1 -0
  105. package/getProxyAgents.d.ts +51 -0
  106. package/getProxyAgents.js +44 -0
  107. package/getProxyAgents.js.map +1 -0
  108. package/getRoles.d.ts +51 -0
  109. package/getRoles.js +44 -0
  110. package/getRoles.js.map +1 -0
  111. package/getTeam.d.ts +70 -0
  112. package/getTeam.js +47 -0
  113. package/getTeam.js.map +1 -0
  114. package/getTeamConnectorMemberships.d.ts +45 -0
  115. package/getTeamConnectorMemberships.js +26 -0
  116. package/getTeamConnectorMemberships.js.map +1 -0
  117. package/getTeamGroupMemberships.d.ts +67 -0
  118. package/getTeamGroupMemberships.js +48 -0
  119. package/getTeamGroupMemberships.js.map +1 -0
  120. package/getTeamUserMemberships.d.ts +67 -0
  121. package/getTeamUserMemberships.js +48 -0
  122. package/getTeamUserMemberships.js.map +1 -0
  123. package/getTeams.d.ts +59 -0
  124. package/getTeams.js +45 -0
  125. package/getTeams.js.map +1 -0
  126. package/getUser.d.ts +98 -0
  127. package/getUser.js +47 -0
  128. package/getUser.js.map +1 -0
  129. package/getUserConnectorMemberships.d.ts +67 -0
  130. package/getUserConnectorMemberships.js +48 -0
  131. package/getUserConnectorMemberships.js.map +1 -0
  132. package/getUserGroupMemberships.d.ts +67 -0
  133. package/getUserGroupMemberships.js +48 -0
  134. package/getUserGroupMemberships.js.map +1 -0
  135. package/getUsers.d.ts +59 -0
  136. package/getUsers.js +45 -0
  137. package/getUsers.js.map +1 -0
  138. package/getWebhook.d.ts +94 -0
  139. package/getWebhook.js +47 -0
  140. package/getWebhook.js.map +1 -0
  141. package/getWebhooks.d.ts +38 -0
  142. package/getWebhooks.js +41 -0
  143. package/getWebhooks.js.map +1 -0
  144. package/group.d.ts +102 -0
  145. package/group.js +91 -0
  146. package/group.js.map +1 -0
  147. package/groupUsers.d.ts +79 -0
  148. package/groupUsers.js +80 -0
  149. package/groupUsers.js.map +1 -0
  150. package/index.d.ts +177 -0
  151. package/index.js +251 -0
  152. package/index.js.map +1 -0
  153. package/localProcessingAgent.d.ts +125 -0
  154. package/localProcessingAgent.js +86 -0
  155. package/localProcessingAgent.js.map +1 -0
  156. package/package.json +29 -0
  157. package/package.json.bak +29 -0
  158. package/provider.d.ts +33 -0
  159. package/provider.js +50 -0
  160. package/provider.js.map +1 -0
  161. package/proxyAgent.d.ts +117 -0
  162. package/proxyAgent.js +84 -0
  163. package/proxyAgent.js.map +1 -0
  164. package/team.d.ts +115 -0
  165. package/team.js +99 -0
  166. package/team.js.map +1 -0
  167. package/teamConnectorMembership.d.ts +107 -0
  168. package/teamConnectorMembership.js +108 -0
  169. package/teamConnectorMembership.js.map +1 -0
  170. package/teamGroupMembership.d.ts +82 -0
  171. package/teamGroupMembership.js +83 -0
  172. package/teamGroupMembership.js.map +1 -0
  173. package/teamUserMembership.d.ts +105 -0
  174. package/teamUserMembership.js +106 -0
  175. package/teamUserMembership.js.map +1 -0
  176. package/types/index.d.ts +3 -0
  177. package/types/index.js +11 -0
  178. package/types/index.js.map +1 -0
  179. package/types/input.d.ts +18230 -0
  180. package/types/input.js +5 -0
  181. package/types/input.js.map +1 -0
  182. package/types/output.d.ts +12255 -0
  183. package/types/output.js +5 -0
  184. package/types/output.js.map +1 -0
  185. package/user.d.ts +191 -0
  186. package/user.js +119 -0
  187. package/user.js.map +1 -0
  188. package/userConnectorMembership.d.ts +107 -0
  189. package/userConnectorMembership.js +108 -0
  190. package/userConnectorMembership.js.map +1 -0
  191. package/userGroupMembership.d.ts +82 -0
  192. package/userGroupMembership.js +83 -0
  193. package/userGroupMembership.js.map +1 -0
  194. package/utilities.d.ts +8 -0
  195. package/utilities.js +101 -0
  196. package/utilities.js.map +1 -0
  197. package/webhook.d.ts +165 -0
  198. package/webhook.js +111 -0
  199. package/webhook.js.map +1 -0
@@ -0,0 +1,130 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * ## Import
6
+ *
7
+ * You don't need to import this resource as it is synthetic (doesn't create new instances in upstream).
8
+ */
9
+ export declare class ConnectorSchemaConfig extends pulumi.CustomResource {
10
+ /**
11
+ * Get an existing ConnectorSchemaConfig resource's state with the given name, ID, and optional extra
12
+ * properties used to qualify the lookup.
13
+ *
14
+ * @param name The _unique_ name of the resulting resource.
15
+ * @param id The _unique_ provider ID of the resource to lookup.
16
+ * @param state Any extra arguments used during the lookup.
17
+ * @param opts Optional settings to control the behavior of the CustomResource.
18
+ */
19
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectorSchemaConfigState, opts?: pulumi.CustomResourceOptions): ConnectorSchemaConfig;
20
+ /**
21
+ * Returns true if the given object is an instance of ConnectorSchemaConfig. This is designed to work even
22
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
+ */
24
+ static isInstance(obj: any): obj is ConnectorSchemaConfig;
25
+ /**
26
+ * The unique identifier for the connector within the Fivetran system.
27
+ */
28
+ readonly connectorId: pulumi.Output<string>;
29
+ /**
30
+ * @deprecated Configure `schemas` instead. This attribute will be removed in the next major version of the provider.
31
+ */
32
+ readonly schema: pulumi.Output<outputs.ConnectorSchemaConfigSchema[] | undefined>;
33
+ /**
34
+ * The value specifying how new source data is handled.
35
+ */
36
+ readonly schemaChangeHandling: pulumi.Output<string>;
37
+ /**
38
+ * Map of schema configurations.
39
+ */
40
+ readonly schemas: pulumi.Output<{
41
+ [key: string]: outputs.ConnectorSchemaConfigSchemas;
42
+ } | undefined>;
43
+ /**
44
+ * Schema settings in Json format, following Fivetran API endpoint contract for `schemas` field (a map of schemas).
45
+ */
46
+ readonly schemasJson: pulumi.Output<string | undefined>;
47
+ readonly timeouts: pulumi.Output<outputs.ConnectorSchemaConfigTimeouts | undefined>;
48
+ /**
49
+ * The value defines validation method. - NONE: no validation, any configuration accepted. - TABLES: validate table names,
50
+ * fail on attempt to configure non-existing schemas/tables. - COLUMNS: validate the whole schema config including column
51
+ * names. The resource will try to fetch columns for every configured table and verify column names.
52
+ */
53
+ readonly validationLevel: pulumi.Output<string>;
54
+ /**
55
+ * Create a ConnectorSchemaConfig resource with the given unique name, arguments, and options.
56
+ *
57
+ * @param name The _unique_ name of the resource.
58
+ * @param args The arguments to use to populate this resource's properties.
59
+ * @param opts A bag of options that control this resource's behavior.
60
+ */
61
+ constructor(name: string, args: ConnectorSchemaConfigArgs, opts?: pulumi.CustomResourceOptions);
62
+ }
63
+ /**
64
+ * Input properties used for looking up and filtering ConnectorSchemaConfig resources.
65
+ */
66
+ export interface ConnectorSchemaConfigState {
67
+ /**
68
+ * The unique identifier for the connector within the Fivetran system.
69
+ */
70
+ connectorId?: pulumi.Input<string>;
71
+ /**
72
+ * @deprecated Configure `schemas` instead. This attribute will be removed in the next major version of the provider.
73
+ */
74
+ schema?: pulumi.Input<pulumi.Input<inputs.ConnectorSchemaConfigSchema>[]>;
75
+ /**
76
+ * The value specifying how new source data is handled.
77
+ */
78
+ schemaChangeHandling?: pulumi.Input<string>;
79
+ /**
80
+ * Map of schema configurations.
81
+ */
82
+ schemas?: pulumi.Input<{
83
+ [key: string]: pulumi.Input<inputs.ConnectorSchemaConfigSchemas>;
84
+ }>;
85
+ /**
86
+ * Schema settings in Json format, following Fivetran API endpoint contract for `schemas` field (a map of schemas).
87
+ */
88
+ schemasJson?: pulumi.Input<string>;
89
+ timeouts?: pulumi.Input<inputs.ConnectorSchemaConfigTimeouts>;
90
+ /**
91
+ * The value defines validation method. - NONE: no validation, any configuration accepted. - TABLES: validate table names,
92
+ * fail on attempt to configure non-existing schemas/tables. - COLUMNS: validate the whole schema config including column
93
+ * names. The resource will try to fetch columns for every configured table and verify column names.
94
+ */
95
+ validationLevel?: pulumi.Input<string>;
96
+ }
97
+ /**
98
+ * The set of arguments for constructing a ConnectorSchemaConfig resource.
99
+ */
100
+ export interface ConnectorSchemaConfigArgs {
101
+ /**
102
+ * The unique identifier for the connector within the Fivetran system.
103
+ */
104
+ connectorId: pulumi.Input<string>;
105
+ /**
106
+ * @deprecated Configure `schemas` instead. This attribute will be removed in the next major version of the provider.
107
+ */
108
+ schema?: pulumi.Input<pulumi.Input<inputs.ConnectorSchemaConfigSchema>[]>;
109
+ /**
110
+ * The value specifying how new source data is handled.
111
+ */
112
+ schemaChangeHandling: pulumi.Input<string>;
113
+ /**
114
+ * Map of schema configurations.
115
+ */
116
+ schemas?: pulumi.Input<{
117
+ [key: string]: pulumi.Input<inputs.ConnectorSchemaConfigSchemas>;
118
+ }>;
119
+ /**
120
+ * Schema settings in Json format, following Fivetran API endpoint contract for `schemas` field (a map of schemas).
121
+ */
122
+ schemasJson?: pulumi.Input<string>;
123
+ timeouts?: pulumi.Input<inputs.ConnectorSchemaConfigTimeouts>;
124
+ /**
125
+ * The value defines validation method. - NONE: no validation, any configuration accepted. - TABLES: validate table names,
126
+ * fail on attempt to configure non-existing schemas/tables. - COLUMNS: validate the whole schema config including column
127
+ * names. The resource will try to fetch columns for every configured table and verify column names.
128
+ */
129
+ validationLevel?: pulumi.Input<string>;
130
+ }
@@ -0,0 +1,72 @@
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.ConnectorSchemaConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * You don't need to import this resource as it is synthetic (doesn't create new instances in upstream).
12
+ */
13
+ class ConnectorSchemaConfig extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing ConnectorSchemaConfig resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name, id, state, opts) {
24
+ return new ConnectorSchemaConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
25
+ }
26
+ /**
27
+ * Returns true if the given object is an instance of ConnectorSchemaConfig. This is designed to work even
28
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
+ */
30
+ static isInstance(obj) {
31
+ if (obj === undefined || obj === null) {
32
+ return false;
33
+ }
34
+ return obj['__pulumiType'] === ConnectorSchemaConfig.__pulumiType;
35
+ }
36
+ constructor(name, argsOrState, opts) {
37
+ let resourceInputs = {};
38
+ opts = opts || {};
39
+ if (opts.id) {
40
+ const state = argsOrState;
41
+ resourceInputs["connectorId"] = state ? state.connectorId : undefined;
42
+ resourceInputs["schema"] = state ? state.schema : undefined;
43
+ resourceInputs["schemaChangeHandling"] = state ? state.schemaChangeHandling : undefined;
44
+ resourceInputs["schemas"] = state ? state.schemas : undefined;
45
+ resourceInputs["schemasJson"] = state ? state.schemasJson : undefined;
46
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
47
+ resourceInputs["validationLevel"] = state ? state.validationLevel : undefined;
48
+ }
49
+ else {
50
+ const args = argsOrState;
51
+ if ((!args || args.connectorId === undefined) && !opts.urn) {
52
+ throw new Error("Missing required property 'connectorId'");
53
+ }
54
+ if ((!args || args.schemaChangeHandling === undefined) && !opts.urn) {
55
+ throw new Error("Missing required property 'schemaChangeHandling'");
56
+ }
57
+ resourceInputs["connectorId"] = args ? args.connectorId : undefined;
58
+ resourceInputs["schema"] = args ? args.schema : undefined;
59
+ resourceInputs["schemaChangeHandling"] = args ? args.schemaChangeHandling : undefined;
60
+ resourceInputs["schemas"] = args ? args.schemas : undefined;
61
+ resourceInputs["schemasJson"] = args ? args.schemasJson : undefined;
62
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
63
+ resourceInputs["validationLevel"] = args ? args.validationLevel : undefined;
64
+ }
65
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
66
+ super(ConnectorSchemaConfig.__pulumiType, name, resourceInputs, opts);
67
+ }
68
+ }
69
+ exports.ConnectorSchemaConfig = ConnectorSchemaConfig;
70
+ /** @internal */
71
+ ConnectorSchemaConfig.__pulumiType = 'fivetran:index/connectorSchemaConfig:ConnectorSchemaConfig';
72
+ //# sourceMappingURL=connectorSchemaConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectorSchemaConfig.js","sourceRoot":"","sources":["../connectorSchemaConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IAsCD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE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YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA9FL,sDA+FC;AAjFG,gBAAgB;AACO,kCAAY,GAAG,4DAA4D,CAAC"}
@@ -0,0 +1,205 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Resource is in ALPHA state.
6
+ *
7
+ * This resource allows you to add, manage and delete dbt Projects in your account.
8
+ *
9
+ * ## Import
10
+ *
11
+ * 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.
12
+ *
13
+ * 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.
14
+ *
15
+ * 3. Define an empty resource in your `.tf` configuration:
16
+ *
17
+ * hcl
18
+ *
19
+ * resource "fivetran_dbt_project" "my_imported_fivetran_dbt_project" {
20
+ *
21
+ * }
22
+ *
23
+ * 4. Run the `pulumi import` command:
24
+ *
25
+ * ```sh
26
+ * $ pulumi import fivetran:index/dbtProject:DbtProject my_imported_fivetran_dbt_project {Dbt Project ID}
27
+ * ```
28
+ *
29
+ * 4. Use the `terraform state show` command to get the values from the state:
30
+ *
31
+ * terraform state show 'fivetran_dbt_project.my_imported_fivetran_dbt_project'
32
+ *
33
+ * 5. Copy the values and paste them to your `.tf` configuration.
34
+ */
35
+ export declare class DbtProject extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing DbtProject resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DbtProjectState, opts?: pulumi.CustomResourceOptions): DbtProject;
46
+ /**
47
+ * Returns true if the given object is an instance of DbtProject. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj: any): obj is DbtProject;
51
+ /**
52
+ * The timestamp of the dbt Project creation.
53
+ */
54
+ readonly createdAt: pulumi.Output<string>;
55
+ /**
56
+ * The unique identifier for the User within the Fivetran system who created the dbt Project.
57
+ */
58
+ readonly createdById: pulumi.Output<string>;
59
+ /**
60
+ * 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.
61
+ */
62
+ readonly dbtVersion: pulumi.Output<string>;
63
+ /**
64
+ * Default schema in destination. This production schema will contain your transformed data.
65
+ */
66
+ readonly defaultSchema: pulumi.Output<string>;
67
+ /**
68
+ * Should resource wait for project to finish initialization. Default value: true.
69
+ */
70
+ readonly ensureReadiness: pulumi.Output<boolean>;
71
+ /**
72
+ * 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"
73
+ */
74
+ readonly environmentVars: pulumi.Output<string[] | undefined>;
75
+ /**
76
+ * The unique identifier for the group within the Fivetran system.
77
+ */
78
+ readonly groupId: pulumi.Output<string>;
79
+ readonly models: pulumi.Output<outputs.DbtProjectModel[]>;
80
+ readonly projectConfig: pulumi.Output<outputs.DbtProjectProjectConfig | undefined>;
81
+ /**
82
+ * Public key to grant Fivetran SSH access to git repository.
83
+ */
84
+ readonly publicKey: pulumi.Output<string>;
85
+ /**
86
+ * Status of dbt Project (NOT_READY, READY, ERROR).
87
+ */
88
+ readonly status: pulumi.Output<string>;
89
+ /**
90
+ * Target name to set or override the value from the deployment.yaml
91
+ */
92
+ readonly targetName: pulumi.Output<string | undefined>;
93
+ /**
94
+ * 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.
95
+ */
96
+ readonly threads: pulumi.Output<number>;
97
+ readonly timeouts: pulumi.Output<outputs.DbtProjectTimeouts | undefined>;
98
+ /**
99
+ * Type of dbt Project. Currently only `GIT` supported. Empty value will be considered as default (GIT).
100
+ */
101
+ readonly type: pulumi.Output<string | undefined>;
102
+ /**
103
+ * Create a DbtProject resource with the given unique name, arguments, and options.
104
+ *
105
+ * @param name The _unique_ name of the resource.
106
+ * @param args The arguments to use to populate this resource's properties.
107
+ * @param opts A bag of options that control this resource's behavior.
108
+ */
109
+ constructor(name: string, args: DbtProjectArgs, opts?: pulumi.CustomResourceOptions);
110
+ }
111
+ /**
112
+ * Input properties used for looking up and filtering DbtProject resources.
113
+ */
114
+ export interface DbtProjectState {
115
+ /**
116
+ * The timestamp of the dbt Project creation.
117
+ */
118
+ createdAt?: pulumi.Input<string>;
119
+ /**
120
+ * The unique identifier for the User within the Fivetran system who created the dbt Project.
121
+ */
122
+ createdById?: pulumi.Input<string>;
123
+ /**
124
+ * 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.
125
+ */
126
+ dbtVersion?: pulumi.Input<string>;
127
+ /**
128
+ * Default schema in destination. This production schema will contain your transformed data.
129
+ */
130
+ defaultSchema?: pulumi.Input<string>;
131
+ /**
132
+ * Should resource wait for project to finish initialization. Default value: true.
133
+ */
134
+ ensureReadiness?: pulumi.Input<boolean>;
135
+ /**
136
+ * 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"
137
+ */
138
+ environmentVars?: pulumi.Input<pulumi.Input<string>[]>;
139
+ /**
140
+ * The unique identifier for the group within the Fivetran system.
141
+ */
142
+ groupId?: pulumi.Input<string>;
143
+ models?: pulumi.Input<pulumi.Input<inputs.DbtProjectModel>[]>;
144
+ projectConfig?: pulumi.Input<inputs.DbtProjectProjectConfig>;
145
+ /**
146
+ * Public key to grant Fivetran SSH access to git repository.
147
+ */
148
+ publicKey?: pulumi.Input<string>;
149
+ /**
150
+ * Status of dbt Project (NOT_READY, READY, ERROR).
151
+ */
152
+ status?: pulumi.Input<string>;
153
+ /**
154
+ * Target name to set or override the value from the deployment.yaml
155
+ */
156
+ targetName?: pulumi.Input<string>;
157
+ /**
158
+ * 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.
159
+ */
160
+ threads?: pulumi.Input<number>;
161
+ timeouts?: pulumi.Input<inputs.DbtProjectTimeouts>;
162
+ /**
163
+ * Type of dbt Project. Currently only `GIT` supported. Empty value will be considered as default (GIT).
164
+ */
165
+ type?: pulumi.Input<string>;
166
+ }
167
+ /**
168
+ * The set of arguments for constructing a DbtProject resource.
169
+ */
170
+ export interface DbtProjectArgs {
171
+ /**
172
+ * 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.
173
+ */
174
+ dbtVersion: pulumi.Input<string>;
175
+ /**
176
+ * Default schema in destination. This production schema will contain your transformed data.
177
+ */
178
+ defaultSchema: pulumi.Input<string>;
179
+ /**
180
+ * Should resource wait for project to finish initialization. Default value: true.
181
+ */
182
+ ensureReadiness?: pulumi.Input<boolean>;
183
+ /**
184
+ * 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"
185
+ */
186
+ environmentVars?: pulumi.Input<pulumi.Input<string>[]>;
187
+ /**
188
+ * The unique identifier for the group within the Fivetran system.
189
+ */
190
+ groupId: pulumi.Input<string>;
191
+ projectConfig?: pulumi.Input<inputs.DbtProjectProjectConfig>;
192
+ /**
193
+ * Target name to set or override the value from the deployment.yaml
194
+ */
195
+ targetName?: pulumi.Input<string>;
196
+ /**
197
+ * 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.
198
+ */
199
+ threads?: pulumi.Input<number>;
200
+ timeouts?: pulumi.Input<inputs.DbtProjectTimeouts>;
201
+ /**
202
+ * Type of dbt Project. Currently only `GIT` supported. Empty value will be considered as default (GIT).
203
+ */
204
+ type?: pulumi.Input<string>;
205
+ }
package/dbtProject.js ADDED
@@ -0,0 +1,117 @@
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
+ * Resource is in ALPHA state.
10
+ *
11
+ * This resource allows you to add, manage and delete dbt Projects in your account.
12
+ *
13
+ * ## Import
14
+ *
15
+ * 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.
16
+ *
17
+ * 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.
18
+ *
19
+ * 3. Define an empty resource in your `.tf` configuration:
20
+ *
21
+ * hcl
22
+ *
23
+ * resource "fivetran_dbt_project" "my_imported_fivetran_dbt_project" {
24
+ *
25
+ * }
26
+ *
27
+ * 4. Run the `pulumi import` command:
28
+ *
29
+ * ```sh
30
+ * $ pulumi import fivetran:index/dbtProject:DbtProject my_imported_fivetran_dbt_project {Dbt Project ID}
31
+ * ```
32
+ *
33
+ * 4. Use the `terraform state show` command to get the values from the state:
34
+ *
35
+ * terraform state show 'fivetran_dbt_project.my_imported_fivetran_dbt_project'
36
+ *
37
+ * 5. Copy the values and paste them to your `.tf` configuration.
38
+ */
39
+ class DbtProject extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing DbtProject resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name, id, state, opts) {
50
+ return new DbtProject(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
+ }
52
+ /**
53
+ * Returns true if the given object is an instance of DbtProject. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj) {
57
+ if (obj === undefined || obj === null) {
58
+ return false;
59
+ }
60
+ return obj['__pulumiType'] === DbtProject.__pulumiType;
61
+ }
62
+ constructor(name, argsOrState, opts) {
63
+ let resourceInputs = {};
64
+ opts = opts || {};
65
+ if (opts.id) {
66
+ const state = argsOrState;
67
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
68
+ resourceInputs["createdById"] = state ? state.createdById : undefined;
69
+ resourceInputs["dbtVersion"] = state ? state.dbtVersion : undefined;
70
+ resourceInputs["defaultSchema"] = state ? state.defaultSchema : undefined;
71
+ resourceInputs["ensureReadiness"] = state ? state.ensureReadiness : undefined;
72
+ resourceInputs["environmentVars"] = state ? state.environmentVars : undefined;
73
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
74
+ resourceInputs["models"] = state ? state.models : undefined;
75
+ resourceInputs["projectConfig"] = state ? state.projectConfig : undefined;
76
+ resourceInputs["publicKey"] = state ? state.publicKey : undefined;
77
+ resourceInputs["status"] = state ? state.status : undefined;
78
+ resourceInputs["targetName"] = state ? state.targetName : undefined;
79
+ resourceInputs["threads"] = state ? state.threads : undefined;
80
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
81
+ resourceInputs["type"] = state ? state.type : undefined;
82
+ }
83
+ else {
84
+ const args = argsOrState;
85
+ if ((!args || args.dbtVersion === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'dbtVersion'");
87
+ }
88
+ if ((!args || args.defaultSchema === undefined) && !opts.urn) {
89
+ throw new Error("Missing required property 'defaultSchema'");
90
+ }
91
+ if ((!args || args.groupId === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'groupId'");
93
+ }
94
+ resourceInputs["dbtVersion"] = args ? args.dbtVersion : undefined;
95
+ resourceInputs["defaultSchema"] = args ? args.defaultSchema : undefined;
96
+ resourceInputs["ensureReadiness"] = args ? args.ensureReadiness : undefined;
97
+ resourceInputs["environmentVars"] = args ? args.environmentVars : undefined;
98
+ resourceInputs["groupId"] = args ? args.groupId : undefined;
99
+ resourceInputs["projectConfig"] = args ? args.projectConfig : undefined;
100
+ resourceInputs["targetName"] = args ? args.targetName : undefined;
101
+ resourceInputs["threads"] = args ? args.threads : undefined;
102
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
103
+ resourceInputs["type"] = args ? args.type : undefined;
104
+ resourceInputs["createdAt"] = undefined /*out*/;
105
+ resourceInputs["createdById"] = undefined /*out*/;
106
+ resourceInputs["models"] = undefined /*out*/;
107
+ resourceInputs["publicKey"] = undefined /*out*/;
108
+ resourceInputs["status"] = undefined /*out*/;
109
+ }
110
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
111
+ super(DbtProject.__pulumiType, name, resourceInputs, opts);
112
+ }
113
+ }
114
+ exports.DbtProject = DbtProject;
115
+ /** @internal */
116
+ DbtProject.__pulumiType = 'fivetran:index/dbtProject:DbtProject';
117
+ //# sourceMappingURL=dbtProject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dbtProject.js","sourceRoot":"","sources":["../dbtProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IA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