@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,162 @@
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 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
+ }
@@ -0,0 +1,105 @@
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
+ * Resource is in ALPHA state.
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dbtTransformation.js","sourceRoot":"","sources":["../dbtTransformation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAiDD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,M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,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAjHL,8CAkHC;AApGG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
@@ -0,0 +1,216 @@
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
+ * 1. To import an existing `fivetran_destination` resource into your Terraform state, you need to get **Destination Group ID** on the destination page in your Fivetran dashboard.
8
+ *
9
+ * To retrieve existing groups, use the [fivetran_groups data source](/docs/data-sources/groups).
10
+ *
11
+ * 2. Define an empty resource in your `.tf` configuration:
12
+ *
13
+ * hcl
14
+ *
15
+ * resource "fivetran_destination" "my_imported_destination" {
16
+ *
17
+ * }
18
+ *
19
+ * 3. Run the `pulumi import` command with the following parameters:
20
+ *
21
+ * ```sh
22
+ * $ pulumi import fivetran:index/destination:Destination my_imported_destination {your Destination Group ID}
23
+ * ```
24
+ *
25
+ * 4. Use the `terraform state show` command to get the values from the state:
26
+ *
27
+ * terraform state show 'fivetran_destination.my_imported_destination'
28
+ *
29
+ * 5. Copy the values and paste them to your `.tf` configuration.
30
+ *
31
+ * -> 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 destinations. See the [Fivetran REST API documentation](https://fivetran.com/docs/rest-api/destinations/config) for reference to find the properties you need to keep in the `config` section.
32
+ */
33
+ export declare class Destination extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing Destination resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DestinationState, opts?: pulumi.CustomResourceOptions): Destination;
44
+ /**
45
+ * Returns true if the given object is an instance of Destination. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is Destination;
49
+ readonly config: pulumi.Output<outputs.DestinationConfig | undefined>;
50
+ /**
51
+ * Shift my UTC offset with daylight savings time (US Only)
52
+ */
53
+ readonly daylightSavingTimeEnabled: pulumi.Output<boolean>;
54
+ /**
55
+ * The unique identifier for the Group within the Fivetran system.
56
+ */
57
+ readonly groupId: pulumi.Output<string>;
58
+ /**
59
+ * The local processing agent ID that refers to the controller created for the group the connection belongs to. If the
60
+ * value is specified, the system will try to associate the connection with an existing agent.
61
+ */
62
+ readonly localProcessingAgentId: pulumi.Output<string | undefined>;
63
+ /**
64
+ * Possible values: Directly, SshTunnel, ProxyAgent.
65
+ */
66
+ readonly networkingMethod: pulumi.Output<string>;
67
+ /**
68
+ * Data processing location. This is where Fivetran will operate and run computation on data.
69
+ */
70
+ readonly region: pulumi.Output<string>;
71
+ /**
72
+ * Specifies whether the setup tests should be run automatically. The default value is TRUE.
73
+ */
74
+ readonly runSetupTests: pulumi.Output<boolean>;
75
+ /**
76
+ * The destination type id within the Fivetran system.
77
+ */
78
+ readonly service: pulumi.Output<string>;
79
+ /**
80
+ * Destination setup status.
81
+ */
82
+ readonly setupStatus: pulumi.Output<string>;
83
+ /**
84
+ * Determines the time zone for the Fivetran sync schedule.
85
+ */
86
+ readonly timeZoneOffset: pulumi.Output<string>;
87
+ readonly timeouts: pulumi.Output<outputs.DestinationTimeouts | undefined>;
88
+ /**
89
+ * Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not
90
+ * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
91
+ * certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
92
+ */
93
+ readonly trustCertificates: pulumi.Output<boolean>;
94
+ /**
95
+ * Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not
96
+ * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
97
+ * fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
98
+ */
99
+ readonly trustFingerprints: pulumi.Output<boolean>;
100
+ /**
101
+ * Create a Destination resource with the given unique name, arguments, and options.
102
+ *
103
+ * @param name The _unique_ name of the resource.
104
+ * @param args The arguments to use to populate this resource's properties.
105
+ * @param opts A bag of options that control this resource's behavior.
106
+ */
107
+ constructor(name: string, args: DestinationArgs, opts?: pulumi.CustomResourceOptions);
108
+ }
109
+ /**
110
+ * Input properties used for looking up and filtering Destination resources.
111
+ */
112
+ export interface DestinationState {
113
+ config?: pulumi.Input<inputs.DestinationConfig>;
114
+ /**
115
+ * Shift my UTC offset with daylight savings time (US Only)
116
+ */
117
+ daylightSavingTimeEnabled?: pulumi.Input<boolean>;
118
+ /**
119
+ * The unique identifier for the Group within the Fivetran system.
120
+ */
121
+ groupId?: pulumi.Input<string>;
122
+ /**
123
+ * The local processing agent ID that refers to the controller created for the group the connection belongs to. If the
124
+ * value is specified, the system will try to associate the connection with an existing agent.
125
+ */
126
+ localProcessingAgentId?: pulumi.Input<string>;
127
+ /**
128
+ * Possible values: Directly, SshTunnel, ProxyAgent.
129
+ */
130
+ networkingMethod?: pulumi.Input<string>;
131
+ /**
132
+ * Data processing location. This is where Fivetran will operate and run computation on data.
133
+ */
134
+ region?: pulumi.Input<string>;
135
+ /**
136
+ * Specifies whether the setup tests should be run automatically. The default value is TRUE.
137
+ */
138
+ runSetupTests?: pulumi.Input<boolean>;
139
+ /**
140
+ * The destination type id within the Fivetran system.
141
+ */
142
+ service?: pulumi.Input<string>;
143
+ /**
144
+ * Destination setup status.
145
+ */
146
+ setupStatus?: pulumi.Input<string>;
147
+ /**
148
+ * Determines the time zone for the Fivetran sync schedule.
149
+ */
150
+ timeZoneOffset?: pulumi.Input<string>;
151
+ timeouts?: pulumi.Input<inputs.DestinationTimeouts>;
152
+ /**
153
+ * Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not
154
+ * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
155
+ * certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
156
+ */
157
+ trustCertificates?: pulumi.Input<boolean>;
158
+ /**
159
+ * Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not
160
+ * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
161
+ * fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
162
+ */
163
+ trustFingerprints?: pulumi.Input<boolean>;
164
+ }
165
+ /**
166
+ * The set of arguments for constructing a Destination resource.
167
+ */
168
+ export interface DestinationArgs {
169
+ config?: pulumi.Input<inputs.DestinationConfig>;
170
+ /**
171
+ * Shift my UTC offset with daylight savings time (US Only)
172
+ */
173
+ daylightSavingTimeEnabled?: pulumi.Input<boolean>;
174
+ /**
175
+ * The unique identifier for the Group within the Fivetran system.
176
+ */
177
+ groupId: pulumi.Input<string>;
178
+ /**
179
+ * The local processing agent ID that refers to the controller created for the group the connection belongs to. If the
180
+ * value is specified, the system will try to associate the connection with an existing agent.
181
+ */
182
+ localProcessingAgentId?: pulumi.Input<string>;
183
+ /**
184
+ * Possible values: Directly, SshTunnel, ProxyAgent.
185
+ */
186
+ networkingMethod?: pulumi.Input<string>;
187
+ /**
188
+ * Data processing location. This is where Fivetran will operate and run computation on data.
189
+ */
190
+ region: pulumi.Input<string>;
191
+ /**
192
+ * Specifies whether the setup tests should be run automatically. The default value is TRUE.
193
+ */
194
+ runSetupTests?: pulumi.Input<boolean>;
195
+ /**
196
+ * The destination type id within the Fivetran system.
197
+ */
198
+ service: pulumi.Input<string>;
199
+ /**
200
+ * Determines the time zone for the Fivetran sync schedule.
201
+ */
202
+ timeZoneOffset: pulumi.Input<string>;
203
+ timeouts?: pulumi.Input<inputs.DestinationTimeouts>;
204
+ /**
205
+ * Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not
206
+ * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
207
+ * certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
208
+ */
209
+ trustCertificates?: pulumi.Input<boolean>;
210
+ /**
211
+ * Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not
212
+ * trusted automatically, it has to be approved with [Certificates Management API Approve a destination
213
+ * fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
214
+ */
215
+ trustFingerprints?: pulumi.Input<boolean>;
216
+ }
package/destination.js ADDED
@@ -0,0 +1,114 @@
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.Destination = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * 1. To import an existing `fivetran_destination` resource into your Terraform state, you need to get **Destination Group ID** on the destination page in your Fivetran dashboard.
12
+ *
13
+ * To retrieve existing groups, use the [fivetran_groups data source](/docs/data-sources/groups).
14
+ *
15
+ * 2. Define an empty resource in your `.tf` configuration:
16
+ *
17
+ * hcl
18
+ *
19
+ * resource "fivetran_destination" "my_imported_destination" {
20
+ *
21
+ * }
22
+ *
23
+ * 3. Run the `pulumi import` command with the following parameters:
24
+ *
25
+ * ```sh
26
+ * $ pulumi import fivetran:index/destination:Destination my_imported_destination {your Destination Group ID}
27
+ * ```
28
+ *
29
+ * 4. Use the `terraform state show` command to get the values from the state:
30
+ *
31
+ * terraform state show 'fivetran_destination.my_imported_destination'
32
+ *
33
+ * 5. Copy the values and paste them to your `.tf` configuration.
34
+ *
35
+ * -> 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 destinations. See the [Fivetran REST API documentation](https://fivetran.com/docs/rest-api/destinations/config) for reference to find the properties you need to keep in the `config` section.
36
+ */
37
+ class Destination extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing Destination resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new Destination(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of Destination. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === Destination.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["config"] = state ? state.config : undefined;
66
+ resourceInputs["daylightSavingTimeEnabled"] = state ? state.daylightSavingTimeEnabled : undefined;
67
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
68
+ resourceInputs["localProcessingAgentId"] = state ? state.localProcessingAgentId : undefined;
69
+ resourceInputs["networkingMethod"] = state ? state.networkingMethod : undefined;
70
+ resourceInputs["region"] = state ? state.region : undefined;
71
+ resourceInputs["runSetupTests"] = state ? state.runSetupTests : undefined;
72
+ resourceInputs["service"] = state ? state.service : undefined;
73
+ resourceInputs["setupStatus"] = state ? state.setupStatus : undefined;
74
+ resourceInputs["timeZoneOffset"] = state ? state.timeZoneOffset : undefined;
75
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
76
+ resourceInputs["trustCertificates"] = state ? state.trustCertificates : undefined;
77
+ resourceInputs["trustFingerprints"] = state ? state.trustFingerprints : undefined;
78
+ }
79
+ else {
80
+ const args = argsOrState;
81
+ if ((!args || args.groupId === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'groupId'");
83
+ }
84
+ if ((!args || args.region === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'region'");
86
+ }
87
+ if ((!args || args.service === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'service'");
89
+ }
90
+ if ((!args || args.timeZoneOffset === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'timeZoneOffset'");
92
+ }
93
+ resourceInputs["config"] = args ? args.config : undefined;
94
+ resourceInputs["daylightSavingTimeEnabled"] = args ? args.daylightSavingTimeEnabled : undefined;
95
+ resourceInputs["groupId"] = args ? args.groupId : undefined;
96
+ resourceInputs["localProcessingAgentId"] = args ? args.localProcessingAgentId : undefined;
97
+ resourceInputs["networkingMethod"] = args ? args.networkingMethod : undefined;
98
+ resourceInputs["region"] = args ? args.region : undefined;
99
+ resourceInputs["runSetupTests"] = args ? args.runSetupTests : undefined;
100
+ resourceInputs["service"] = args ? args.service : undefined;
101
+ resourceInputs["timeZoneOffset"] = args ? args.timeZoneOffset : undefined;
102
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
103
+ resourceInputs["trustCertificates"] = args ? args.trustCertificates : undefined;
104
+ resourceInputs["trustFingerprints"] = args ? args.trustFingerprints : undefined;
105
+ resourceInputs["setupStatus"] = undefined /*out*/;
106
+ }
107
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
108
+ super(Destination.__pulumiType, name, resourceInputs, opts);
109
+ }
110
+ }
111
+ exports.Destination = Destination;
112
+ /** @internal */
113
+ Destination.__pulumiType = 'fivetran:index/destination:Destination';
114
+ //# sourceMappingURL=destination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"destination.js","sourceRoot":"","sources":["../destination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,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAxIL,kCAyIC;AA3HG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
@@ -0,0 +1,53 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class DestinationCertificates extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing DestinationCertificates resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DestinationCertificatesState, opts?: pulumi.CustomResourceOptions): DestinationCertificates;
15
+ /**
16
+ * Returns true if the given object is an instance of DestinationCertificates. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is DestinationCertificates;
20
+ readonly certificates: pulumi.Output<outputs.DestinationCertificatesCertificate[] | undefined>;
21
+ /**
22
+ * The unique identifier for the target destination within the Fivetran system.
23
+ */
24
+ readonly destinationId: pulumi.Output<string>;
25
+ /**
26
+ * Create a DestinationCertificates resource with the given unique name, arguments, and options.
27
+ *
28
+ * @param name The _unique_ name of the resource.
29
+ * @param args The arguments to use to populate this resource's properties.
30
+ * @param opts A bag of options that control this resource's behavior.
31
+ */
32
+ constructor(name: string, args: DestinationCertificatesArgs, opts?: pulumi.CustomResourceOptions);
33
+ }
34
+ /**
35
+ * Input properties used for looking up and filtering DestinationCertificates resources.
36
+ */
37
+ export interface DestinationCertificatesState {
38
+ certificates?: pulumi.Input<pulumi.Input<inputs.DestinationCertificatesCertificate>[]>;
39
+ /**
40
+ * The unique identifier for the target destination within the Fivetran system.
41
+ */
42
+ destinationId?: pulumi.Input<string>;
43
+ }
44
+ /**
45
+ * The set of arguments for constructing a DestinationCertificates resource.
46
+ */
47
+ export interface DestinationCertificatesArgs {
48
+ certificates?: pulumi.Input<pulumi.Input<inputs.DestinationCertificatesCertificate>[]>;
49
+ /**
50
+ * The unique identifier for the target destination within the Fivetran system.
51
+ */
52
+ destinationId: pulumi.Input<string>;
53
+ }