@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.
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +28 -7
- package/config/vars.js.map +1 -1
- package/connector.d.ts +104 -40
- package/connector.d.ts.map +1 -0
- package/connector.js +150 -41
- package/connector.js.map +1 -1
- package/connectorCertificates.d.ts +51 -0
- package/connectorCertificates.d.ts.map +1 -0
- package/connectorCertificates.js +84 -11
- package/connectorCertificates.js.map +1 -1
- package/connectorFingerprints.d.ts +13 -9
- package/connectorFingerprints.d.ts.map +1 -0
- package/connectorFingerprints.js +46 -20
- package/connectorFingerprints.js.map +1 -1
- package/connectorSchedule.d.ts +24 -33
- package/connectorSchedule.d.ts.map +1 -0
- package/connectorSchedule.js +65 -52
- package/connectorSchedule.js.map +1 -1
- package/connectorSchemaConfig.d.ts +200 -9
- package/connectorSchemaConfig.d.ts.map +1 -0
- package/connectorSchemaConfig.js +231 -21
- package/connectorSchemaConfig.js.map +1 -1
- package/destination.d.ts +63 -37
- package/destination.d.ts.map +1 -0
- package/destination.js +113 -50
- package/destination.js.map +1 -1
- package/destinationCertificates.d.ts +54 -0
- package/destinationCertificates.d.ts.map +1 -0
- package/destinationCertificates.js +87 -11
- package/destinationCertificates.js.map +1 -1
- package/destinationFingerprints.d.ts +13 -9
- package/destinationFingerprints.d.ts.map +1 -0
- package/destinationFingerprints.js +46 -20
- package/destinationFingerprints.js.map +1 -1
- package/externalLogging.d.ts +42 -12
- package/externalLogging.d.ts.map +1 -0
- package/externalLogging.js +82 -30
- package/externalLogging.js.map +1 -1
- package/getConnection.d.ts +143 -0
- package/getConnection.d.ts.map +1 -0
- package/getConnection.js +77 -0
- package/getConnection.js.map +1 -0
- package/getConnectionCertificates.d.ts +64 -0
- package/getConnectionCertificates.d.ts.map +1 -0
- package/getConnectionCertificates.js +75 -0
- package/getConnectionCertificates.js.map +1 -0
- package/getConnectionFingerprints.d.ts +64 -0
- package/getConnectionFingerprints.d.ts.map +1 -0
- package/getConnectionFingerprints.js +75 -0
- package/getConnectionFingerprints.js.map +1 -0
- package/getConnections.d.ts +38 -0
- package/getConnections.d.ts.map +1 -0
- package/getConnections.js +57 -0
- package/getConnections.js.map +1 -0
- package/getConnector.d.ts +3 -2
- package/getConnector.d.ts.map +1 -0
- package/getConnector.js +28 -5
- package/getConnector.js.map +1 -1
- package/getConnectorCertificates.d.ts +29 -0
- package/getConnectorCertificates.d.ts.map +1 -0
- package/getConnectorCertificates.js +54 -3
- package/getConnectorCertificates.js.map +1 -1
- package/getConnectorFingerprints.d.ts +3 -2
- package/getConnectorFingerprints.d.ts.map +1 -0
- package/getConnectorFingerprints.js +28 -5
- package/getConnectorFingerprints.js.map +1 -1
- package/getConnectors.d.ts +5 -0
- package/getConnectors.d.ts.map +1 -0
- package/getConnectors.js +30 -3
- package/getConnectors.js.map +1 -1
- package/getConnectorsMetadata.d.ts +3 -2
- package/getConnectorsMetadata.d.ts.map +1 -0
- package/getConnectorsMetadata.js +28 -5
- package/getConnectorsMetadata.js.map +1 -1
- package/getDestination.d.ts +3 -2
- package/getDestination.d.ts.map +1 -0
- package/getDestination.js +28 -5
- package/getDestination.js.map +1 -1
- package/getDestinationCertificates.d.ts +1 -0
- package/getDestinationCertificates.d.ts.map +1 -0
- package/getDestinationCertificates.js +26 -3
- package/getDestinationCertificates.js.map +1 -1
- package/getDestinationFingerprints.d.ts +3 -2
- package/getDestinationFingerprints.d.ts.map +1 -0
- package/getDestinationFingerprints.js +28 -5
- package/getDestinationFingerprints.js.map +1 -1
- package/getDestinations.d.ts +5 -0
- package/getDestinations.d.ts.map +1 -0
- package/getDestinations.js +30 -3
- package/getDestinations.js.map +1 -1
- package/getExternalLogging.d.ts +3 -2
- package/getExternalLogging.d.ts.map +1 -0
- package/getExternalLogging.js +28 -5
- package/getExternalLogging.js.map +1 -1
- package/getExternalLogs.d.ts +5 -0
- package/getExternalLogs.d.ts.map +1 -0
- package/getExternalLogs.js +30 -3
- package/getExternalLogs.js.map +1 -1
- package/getGroup.d.ts +3 -2
- package/getGroup.d.ts.map +1 -0
- package/getGroup.js +28 -5
- package/getGroup.js.map +1 -1
- package/getGroupConnections.d.ts +78 -0
- package/getGroupConnections.d.ts.map +1 -0
- package/getGroupConnections.js +79 -0
- package/getGroupConnections.js.map +1 -0
- package/getGroupConnectors.d.ts +3 -2
- package/getGroupConnectors.d.ts.map +1 -0
- package/getGroupConnectors.js +28 -5
- package/getGroupConnectors.js.map +1 -1
- package/getGroupServiceAccount.d.ts +3 -2
- package/getGroupServiceAccount.d.ts.map +1 -0
- package/getGroupServiceAccount.js +28 -5
- package/getGroupServiceAccount.js.map +1 -1
- package/getGroupSshKey.d.ts +3 -2
- package/getGroupSshKey.d.ts.map +1 -0
- package/getGroupSshKey.js +28 -5
- package/getGroupSshKey.js.map +1 -1
- package/getGroupUsers.d.ts +3 -2
- package/getGroupUsers.d.ts.map +1 -0
- package/getGroupUsers.js +28 -5
- package/getGroupUsers.js.map +1 -1
- package/getGroups.d.ts +3 -2
- package/getGroups.d.ts.map +1 -0
- package/getGroups.js +28 -5
- package/getGroups.js.map +1 -1
- package/getHybridDeploymentAgent.d.ts +5 -0
- package/getHybridDeploymentAgent.d.ts.map +1 -0
- package/getHybridDeploymentAgent.js +30 -3
- package/getHybridDeploymentAgent.js.map +1 -1
- package/getHybridDeploymentAgents.d.ts +3 -2
- package/getHybridDeploymentAgents.d.ts.map +1 -0
- package/getHybridDeploymentAgents.js +28 -5
- package/getHybridDeploymentAgents.js.map +1 -1
- package/getPrivateLink.d.ts +7 -2
- package/getPrivateLink.d.ts.map +1 -0
- package/getPrivateLink.js +28 -5
- package/getPrivateLink.js.map +1 -1
- package/getPrivateLinks.d.ts +1 -0
- package/getPrivateLinks.d.ts.map +1 -0
- package/getPrivateLinks.js +26 -3
- package/getPrivateLinks.js.map +1 -1
- package/getProxyAgent.d.ts +3 -10
- package/getProxyAgent.d.ts.map +1 -0
- package/getProxyAgent.js +28 -5
- package/getProxyAgent.js.map +1 -1
- package/getProxyAgents.d.ts +3 -2
- package/getProxyAgents.d.ts.map +1 -0
- package/getProxyAgents.js +28 -5
- package/getProxyAgents.js.map +1 -1
- package/getQuickstartPackage.d.ts +3 -2
- package/getQuickstartPackage.d.ts.map +1 -0
- package/getQuickstartPackage.js +28 -5
- package/getQuickstartPackage.js.map +1 -1
- package/getQuickstartPackages.d.ts +3 -2
- package/getQuickstartPackages.d.ts.map +1 -0
- package/getQuickstartPackages.js +28 -5
- package/getQuickstartPackages.js.map +1 -1
- package/getRoles.d.ts +3 -2
- package/getRoles.d.ts.map +1 -0
- package/getRoles.js +28 -5
- package/getRoles.js.map +1 -1
- package/getTeam.d.ts +3 -2
- package/getTeam.d.ts.map +1 -0
- package/getTeam.js +28 -5
- package/getTeam.js.map +1 -1
- package/getTeamConnectionMemberships.d.ts +42 -0
- package/getTeamConnectionMemberships.d.ts.map +1 -0
- package/getTeamConnectionMemberships.js +53 -0
- package/getTeamConnectionMemberships.js.map +1 -0
- package/getTeamConnectorMemberships.d.ts +1 -0
- package/getTeamConnectorMemberships.d.ts.map +1 -0
- package/getTeamConnectorMemberships.js +26 -3
- package/getTeamConnectorMemberships.js.map +1 -1
- package/getTeamGroupMemberships.d.ts +3 -2
- package/getTeamGroupMemberships.d.ts.map +1 -0
- package/getTeamGroupMemberships.js +28 -5
- package/getTeamGroupMemberships.js.map +1 -1
- package/getTeamUserMemberships.d.ts +3 -2
- package/getTeamUserMemberships.d.ts.map +1 -0
- package/getTeamUserMemberships.js +28 -5
- package/getTeamUserMemberships.js.map +1 -1
- package/getTeams.d.ts +3 -2
- package/getTeams.d.ts.map +1 -0
- package/getTeams.js +28 -5
- package/getTeams.js.map +1 -1
- package/getTransformation.d.ts +3 -2
- package/getTransformation.d.ts.map +1 -0
- package/getTransformation.js +28 -5
- package/getTransformation.js.map +1 -1
- package/getTransformationProject.d.ts +3 -2
- package/getTransformationProject.d.ts.map +1 -0
- package/getTransformationProject.js +28 -5
- package/getTransformationProject.js.map +1 -1
- package/getTransformationProjects.d.ts +3 -2
- package/getTransformationProjects.d.ts.map +1 -0
- package/getTransformationProjects.js +28 -5
- package/getTransformationProjects.js.map +1 -1
- package/getTransformations.d.ts +3 -2
- package/getTransformations.d.ts.map +1 -0
- package/getTransformations.js +28 -5
- package/getTransformations.js.map +1 -1
- package/getUser.d.ts +3 -2
- package/getUser.d.ts.map +1 -0
- package/getUser.js +28 -5
- package/getUser.js.map +1 -1
- package/getUserConnectionMemberships.d.ts +64 -0
- package/getUserConnectionMemberships.d.ts.map +1 -0
- package/getUserConnectionMemberships.js +75 -0
- package/getUserConnectionMemberships.js.map +1 -0
- package/getUserConnectorMemberships.d.ts +3 -2
- package/getUserConnectorMemberships.d.ts.map +1 -0
- package/getUserConnectorMemberships.js +28 -5
- package/getUserConnectorMemberships.js.map +1 -1
- package/getUserGroupMemberships.d.ts +3 -2
- package/getUserGroupMemberships.d.ts.map +1 -0
- package/getUserGroupMemberships.js +28 -5
- package/getUserGroupMemberships.js.map +1 -1
- package/getUsers.d.ts +3 -2
- package/getUsers.d.ts.map +1 -0
- package/getUsers.js +28 -5
- package/getUsers.js.map +1 -1
- package/getWebhook.d.ts +3 -2
- package/getWebhook.d.ts.map +1 -0
- package/getWebhook.js +28 -5
- package/getWebhook.js.map +1 -1
- package/getWebhooks.d.ts +3 -2
- package/getWebhooks.d.ts.map +1 -0
- package/getWebhooks.js +28 -5
- package/getWebhooks.js.map +1 -1
- package/group.d.ts +12 -10
- package/group.d.ts.map +1 -0
- package/group.js +44 -20
- package/group.js.map +1 -1
- package/groupUsers.d.ts +3 -2
- package/groupUsers.d.ts.map +1 -0
- package/groupUsers.js +37 -14
- package/groupUsers.js.map +1 -1
- package/hybridDeploymentAgent.d.ts +14 -3
- package/hybridDeploymentAgent.d.ts.map +1 -0
- package/hybridDeploymentAgent.js +51 -25
- package/hybridDeploymentAgent.js.map +1 -1
- package/index.d.ts +23 -24
- package/index.d.ts.map +1 -0
- package/index.js +58 -38
- package/index.js.map +1 -1
- package/package.json +4 -3
- package/privateLink.d.ts +28 -6
- package/privateLink.d.ts.map +1 -0
- package/privateLink.js +63 -22
- package/privateLink.js.map +1 -1
- package/provider.d.ts +15 -0
- package/provider.d.ts.map +1 -0
- package/provider.js +39 -9
- package/provider.js.map +1 -1
- package/proxyAgent.d.ts +28 -15
- package/proxyAgent.d.ts.map +1 -0
- package/proxyAgent.js +47 -22
- package/proxyAgent.js.map +1 -1
- package/team.d.ts +12 -11
- package/team.d.ts.map +1 -0
- package/team.js +47 -24
- package/team.js.map +1 -1
- package/teamConnectorMembership.d.ts +11 -11
- package/teamConnectorMembership.d.ts.map +1 -0
- package/teamConnectorMembership.js +44 -22
- package/teamConnectorMembership.js.map +1 -1
- package/teamGroupMembership.d.ts +33 -8
- package/teamGroupMembership.d.ts.map +1 -0
- package/teamGroupMembership.js +66 -19
- package/teamGroupMembership.js.map +1 -1
- package/teamUserMembership.d.ts +11 -11
- package/teamUserMembership.d.ts.map +1 -0
- package/teamUserMembership.js +44 -22
- package/teamUserMembership.js.map +1 -1
- package/transformation.d.ts +57 -16
- package/transformation.d.ts.map +1 -0
- package/transformation.js +97 -34
- package/transformation.js.map +1 -1
- package/transformationProject.d.ts +97 -8
- package/transformationProject.d.ts.map +1 -0
- package/transformationProject.js +139 -28
- package/transformationProject.js.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +26 -3
- package/types/index.js.map +1 -1
- package/types/input.d.ts +2750 -299
- package/types/input.d.ts.map +1 -0
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +1705 -221
- package/types/output.d.ts.map +1 -0
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/user.d.ts +11 -9
- package/user.d.ts.map +1 -0
- package/user.js +60 -36
- package/user.js.map +1 -1
- package/userConnectorMembership.d.ts +11 -11
- package/userConnectorMembership.d.ts.map +1 -0
- package/userConnectorMembership.js +44 -22
- package/userConnectorMembership.js.map +1 -1
- package/userGroupMembership.d.ts +33 -8
- package/userGroupMembership.d.ts.map +1 -0
- package/userGroupMembership.js +66 -19
- package/userGroupMembership.js.map +1 -1
- package/utilities.d.ts +1 -4
- package/utilities.d.ts.map +1 -0
- package/utilities.js +43 -30
- package/utilities.js.map +1 -1
- package/webhook.d.ts +10 -8
- package/webhook.d.ts.map +1 -0
- package/webhook.js +59 -35
- package/webhook.js.map +1 -1
- package/dbtGitProjectConfig.d.ts +0 -141
- package/dbtGitProjectConfig.js +0 -105
- package/dbtGitProjectConfig.js.map +0 -1
- package/dbtProject.d.ts +0 -237
- package/dbtProject.js +0 -134
- package/dbtProject.js.map +0 -1
- package/dbtTransformation.d.ts +0 -162
- package/dbtTransformation.js +0 -105
- package/dbtTransformation.js.map +0 -1
- package/getDbtModels.d.ts +0 -67
- package/getDbtModels.js +0 -52
- package/getDbtModels.js.map +0 -1
- package/getDbtProject.d.ts +0 -112
- package/getDbtProject.js +0 -52
- package/getDbtProject.js.map +0 -1
- package/getDbtProjects.d.ts +0 -38
- package/getDbtProjects.js +0 -42
- package/getDbtProjects.js.map +0 -1
- package/getDbtTransformation.d.ts +0 -99
- package/getDbtTransformation.js +0 -52
- package/getDbtTransformation.js.map +0 -1
- package/package.json.bak +0 -29
|
@@ -1,6 +1,56 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource allows you to create, update, and delete connector certificates.
|
|
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 certificate = new fivetran.ConnectorCertificates("certificate", {certificates: [
|
|
14
|
+
* {
|
|
15
|
+
* hash: "jhgfJfgrI6yy...",
|
|
16
|
+
* encodedCert: "encoded_cert",
|
|
17
|
+
* },
|
|
18
|
+
* {
|
|
19
|
+
* hash: "jhgfJfgrI6yy...",
|
|
20
|
+
* encodedCert: "encoded_cert",
|
|
21
|
+
* },
|
|
22
|
+
* ]});
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* 1. To import an existing `fivetran.ConnectorCertificates` resource into your Terraform state, you need to get **Fivetran Connector ID** on the **Setup** tab of the connector page in your Fivetran dashboard.
|
|
28
|
+
*
|
|
29
|
+
* 2. Retrieve all connectors in a particular group using the [fivetran.getConnectors data source](https://www.terraform.io/docs/data-sources/connectors)
|
|
30
|
+
*
|
|
31
|
+
* 3. Define an empty resource in your `.tf` configuration:
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
36
|
+
*
|
|
37
|
+
* const myImportedConnectorFingerprints = new fivetran.ConnectorCertificates("my_imported_connector_fingerprints", {});
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* 4. Run the `pulumi import` command:
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* terraform import fivetran_connector_certificates.my_imported_connector_fingerprints {your Fivetran Connector ID}
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* 5. Use the `terraform state show` command to get the values from the state:
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* terraform state show 'fivetran_connector_certificates.my_imported_connector_fingerprints'
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* 6. Copy the values and paste them to your `.tf` configuration.
|
|
53
|
+
*/
|
|
4
54
|
export declare class ConnectorCertificates extends pulumi.CustomResource {
|
|
5
55
|
/**
|
|
6
56
|
* Get an existing ConnectorCertificates resource's state with the given name, ID, and optional extra
|
|
@@ -51,3 +101,4 @@ export interface ConnectorCertificatesArgs {
|
|
|
51
101
|
*/
|
|
52
102
|
connectorId: pulumi.Input<string>;
|
|
53
103
|
}
|
|
104
|
+
//# sourceMappingURL=connectorCertificates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorCertificates.d.ts","sourceRoot":"","sources":["../connectorCertificates.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qBAAqB;IAO5J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qBAAqB;IAOhE,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,gCAAgC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC5G;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE3D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmBjG;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC,EAAE,CAAC,CAAC;IACrF;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC,EAAE,CAAC,CAAC;IACrF;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACrC"}
|
package/connectorCertificates.js
CHANGED
|
@@ -1,10 +1,83 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
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.ConnectorCertificates = 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"));
|
|
31
|
+
/**
|
|
32
|
+
* This resource allows you to create, update, and delete connector certificates.
|
|
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 certificate = new fivetran.ConnectorCertificates("certificate", {certificates: [
|
|
41
|
+
* {
|
|
42
|
+
* hash: "jhgfJfgrI6yy...",
|
|
43
|
+
* encodedCert: "encoded_cert",
|
|
44
|
+
* },
|
|
45
|
+
* {
|
|
46
|
+
* hash: "jhgfJfgrI6yy...",
|
|
47
|
+
* encodedCert: "encoded_cert",
|
|
48
|
+
* },
|
|
49
|
+
* ]});
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ## Import
|
|
53
|
+
*
|
|
54
|
+
* 1. To import an existing `fivetran.ConnectorCertificates` resource into your Terraform state, you need to get **Fivetran Connector ID** on the **Setup** tab of the connector page in your Fivetran dashboard.
|
|
55
|
+
*
|
|
56
|
+
* 2. Retrieve all connectors in a particular group using the [fivetran.getConnectors data source](https://www.terraform.io/docs/data-sources/connectors)
|
|
57
|
+
*
|
|
58
|
+
* 3. Define an empty resource in your `.tf` configuration:
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
63
|
+
*
|
|
64
|
+
* const myImportedConnectorFingerprints = new fivetran.ConnectorCertificates("my_imported_connector_fingerprints", {});
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* 4. Run the `pulumi import` command:
|
|
68
|
+
*
|
|
69
|
+
* ```sh
|
|
70
|
+
* terraform import fivetran_connector_certificates.my_imported_connector_fingerprints {your Fivetran Connector ID}
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* 5. Use the `terraform state show` command to get the values from the state:
|
|
74
|
+
*
|
|
75
|
+
* ```sh
|
|
76
|
+
* terraform state show 'fivetran_connector_certificates.my_imported_connector_fingerprints'
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* 6. Copy the values and paste them to your `.tf` configuration.
|
|
80
|
+
*/
|
|
8
81
|
class ConnectorCertificates extends pulumi.CustomResource {
|
|
9
82
|
/**
|
|
10
83
|
* Get an existing ConnectorCertificates resource's state with the given name, ID, and optional extra
|
|
@@ -16,8 +89,10 @@ class ConnectorCertificates extends pulumi.CustomResource {
|
|
|
16
89
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
90
|
*/
|
|
18
91
|
static get(name, id, state, opts) {
|
|
19
|
-
return new ConnectorCertificates(name, state,
|
|
92
|
+
return new ConnectorCertificates(name, state, { ...opts, id: id });
|
|
20
93
|
}
|
|
94
|
+
/** @internal */
|
|
95
|
+
static __pulumiType = 'fivetran:index/connectorCertificates:ConnectorCertificates';
|
|
21
96
|
/**
|
|
22
97
|
* Returns true if the given object is an instance of ConnectorCertificates. This is designed to work even
|
|
23
98
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -33,22 +108,20 @@ class ConnectorCertificates extends pulumi.CustomResource {
|
|
|
33
108
|
opts = opts || {};
|
|
34
109
|
if (opts.id) {
|
|
35
110
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["certificates"] = state
|
|
37
|
-
resourceInputs["connectorId"] = state
|
|
111
|
+
resourceInputs["certificates"] = state?.certificates;
|
|
112
|
+
resourceInputs["connectorId"] = state?.connectorId;
|
|
38
113
|
}
|
|
39
114
|
else {
|
|
40
115
|
const args = argsOrState;
|
|
41
|
-
if (
|
|
116
|
+
if (args?.connectorId === undefined && !opts.urn) {
|
|
42
117
|
throw new Error("Missing required property 'connectorId'");
|
|
43
118
|
}
|
|
44
|
-
resourceInputs["certificates"] = args
|
|
45
|
-
resourceInputs["connectorId"] = args
|
|
119
|
+
resourceInputs["certificates"] = args?.certificates;
|
|
120
|
+
resourceInputs["connectorId"] = args?.connectorId;
|
|
46
121
|
}
|
|
47
122
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
48
123
|
super(ConnectorCertificates.__pulumiType, name, resourceInputs, opts);
|
|
49
124
|
}
|
|
50
125
|
}
|
|
51
126
|
exports.ConnectorCertificates = ConnectorCertificates;
|
|
52
|
-
/** @internal */
|
|
53
|
-
ConnectorCertificates.__pulumiType = 'fivetran:index/connectorCertificates:ConnectorCertificates';
|
|
54
127
|
//# sourceMappingURL=connectorCertificates.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorCertificates.js","sourceRoot":"","sources":["../connectorCertificates.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"connectorCertificates.js","sourceRoot":"","sources":["../connectorCertificates.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4DAA4D,CAAC;IAEnG;;;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;IAgBD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;SACtD;aAAM;YACH,MAAM,IAAI,GAAG,WAAoD,CAAC;YAClE,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;SACrD;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;;AA3DL,sDA4DC"}
|
|
@@ -10,8 +10,8 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
12
12
|
*
|
|
13
|
-
* const myConnectorApprovedFingerprints = new fivetran.ConnectorFingerprints("
|
|
14
|
-
* connectorId:
|
|
13
|
+
* const myConnectorApprovedFingerprints = new fivetran.ConnectorFingerprints("my_connector_approved_fingerprints", {
|
|
14
|
+
* connectorId: myConnector.id,
|
|
15
15
|
* fingerprints: [
|
|
16
16
|
* {
|
|
17
17
|
* hash: "jhgfJfgrI6yy...",
|
|
@@ -27,27 +27,30 @@ import * as outputs from "./types/output";
|
|
|
27
27
|
*
|
|
28
28
|
* ## Import
|
|
29
29
|
*
|
|
30
|
-
* 1. To import an existing `
|
|
30
|
+
* 1. To import an existing `fivetran.ConnectorFingerprints` resource into your Terraform state, you need to get **Fivetran Connector ID** on the **Setup** tab of the connector page in your Fivetran dashboard.
|
|
31
31
|
*
|
|
32
|
-
* 2. Retrieve all connectors in a particular group using the [
|
|
32
|
+
* 2. Retrieve all connectors in a particular group using the [fivetran.getConnectors data source](https://www.terraform.io/docs/data-sources/connectors)
|
|
33
33
|
*
|
|
34
34
|
* 3. Define an empty resource in your `.tf` configuration:
|
|
35
35
|
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
39
39
|
*
|
|
40
|
-
* }
|
|
40
|
+
* const myImportedConnectorFingerprints = new fivetran.ConnectorFingerprints("my_imported_connector_fingerprints", {});
|
|
41
|
+
* ```
|
|
41
42
|
*
|
|
42
43
|
* 4. Run the `pulumi import` command:
|
|
43
44
|
*
|
|
44
45
|
* ```sh
|
|
45
|
-
*
|
|
46
|
+
* terraform import fivetran_connector_fingerprints.my_imported_connector_fingerprints {your Fivetran Connector ID}
|
|
46
47
|
* ```
|
|
47
48
|
*
|
|
48
49
|
* 5. Use the `terraform state show` command to get the values from the state:
|
|
49
50
|
*
|
|
51
|
+
* ```sh
|
|
50
52
|
* terraform state show 'fivetran_connector_fingerprints.my_imported_connector_fingerprints'
|
|
53
|
+
* ```
|
|
51
54
|
*
|
|
52
55
|
* 6. Copy the values and paste them to your `.tf` configuration.
|
|
53
56
|
*/
|
|
@@ -101,3 +104,4 @@ export interface ConnectorFingerprintsArgs {
|
|
|
101
104
|
connectorId: pulumi.Input<string>;
|
|
102
105
|
fingerprints?: pulumi.Input<pulumi.Input<inputs.ConnectorFingerprintsFingerprint>[]>;
|
|
103
106
|
}
|
|
107
|
+
//# sourceMappingURL=connectorFingerprints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorFingerprints.d.ts","sourceRoot":"","sources":["../connectorFingerprints.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qBAAqB;IAO5J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qBAAqB;IAOhE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,gCAAgC,EAAE,GAAG,SAAS,CAAC,CAAC;IAE5G;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmBjG;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC,EAAE,CAAC,CAAC;CACxF;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC,EAAE,CAAC,CAAC;CACxF"}
|
package/connectorFingerprints.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
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.ConnectorFingerprints = 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
|
/**
|
|
9
32
|
* This resource allows you to manage list of approved SSH fingerprints for a particular connector.
|
|
10
33
|
*
|
|
@@ -14,8 +37,8 @@ const utilities = require("./utilities");
|
|
|
14
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
38
|
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
16
39
|
*
|
|
17
|
-
* const myConnectorApprovedFingerprints = new fivetran.ConnectorFingerprints("
|
|
18
|
-
* connectorId:
|
|
40
|
+
* const myConnectorApprovedFingerprints = new fivetran.ConnectorFingerprints("my_connector_approved_fingerprints", {
|
|
41
|
+
* connectorId: myConnector.id,
|
|
19
42
|
* fingerprints: [
|
|
20
43
|
* {
|
|
21
44
|
* hash: "jhgfJfgrI6yy...",
|
|
@@ -31,27 +54,30 @@ const utilities = require("./utilities");
|
|
|
31
54
|
*
|
|
32
55
|
* ## Import
|
|
33
56
|
*
|
|
34
|
-
* 1. To import an existing `
|
|
57
|
+
* 1. To import an existing `fivetran.ConnectorFingerprints` resource into your Terraform state, you need to get **Fivetran Connector ID** on the **Setup** tab of the connector page in your Fivetran dashboard.
|
|
35
58
|
*
|
|
36
|
-
* 2. Retrieve all connectors in a particular group using the [
|
|
59
|
+
* 2. Retrieve all connectors in a particular group using the [fivetran.getConnectors data source](https://www.terraform.io/docs/data-sources/connectors)
|
|
37
60
|
*
|
|
38
61
|
* 3. Define an empty resource in your `.tf` configuration:
|
|
39
62
|
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
43
66
|
*
|
|
44
|
-
* }
|
|
67
|
+
* const myImportedConnectorFingerprints = new fivetran.ConnectorFingerprints("my_imported_connector_fingerprints", {});
|
|
68
|
+
* ```
|
|
45
69
|
*
|
|
46
70
|
* 4. Run the `pulumi import` command:
|
|
47
71
|
*
|
|
48
72
|
* ```sh
|
|
49
|
-
*
|
|
73
|
+
* terraform import fivetran_connector_fingerprints.my_imported_connector_fingerprints {your Fivetran Connector ID}
|
|
50
74
|
* ```
|
|
51
75
|
*
|
|
52
76
|
* 5. Use the `terraform state show` command to get the values from the state:
|
|
53
77
|
*
|
|
78
|
+
* ```sh
|
|
54
79
|
* terraform state show 'fivetran_connector_fingerprints.my_imported_connector_fingerprints'
|
|
80
|
+
* ```
|
|
55
81
|
*
|
|
56
82
|
* 6. Copy the values and paste them to your `.tf` configuration.
|
|
57
83
|
*/
|
|
@@ -66,8 +92,10 @@ class ConnectorFingerprints extends pulumi.CustomResource {
|
|
|
66
92
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
93
|
*/
|
|
68
94
|
static get(name, id, state, opts) {
|
|
69
|
-
return new ConnectorFingerprints(name, state,
|
|
95
|
+
return new ConnectorFingerprints(name, state, { ...opts, id: id });
|
|
70
96
|
}
|
|
97
|
+
/** @internal */
|
|
98
|
+
static __pulumiType = 'fivetran:index/connectorFingerprints:ConnectorFingerprints';
|
|
71
99
|
/**
|
|
72
100
|
* Returns true if the given object is an instance of ConnectorFingerprints. This is designed to work even
|
|
73
101
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -83,22 +111,20 @@ class ConnectorFingerprints extends pulumi.CustomResource {
|
|
|
83
111
|
opts = opts || {};
|
|
84
112
|
if (opts.id) {
|
|
85
113
|
const state = argsOrState;
|
|
86
|
-
resourceInputs["connectorId"] = state
|
|
87
|
-
resourceInputs["fingerprints"] = state
|
|
114
|
+
resourceInputs["connectorId"] = state?.connectorId;
|
|
115
|
+
resourceInputs["fingerprints"] = state?.fingerprints;
|
|
88
116
|
}
|
|
89
117
|
else {
|
|
90
118
|
const args = argsOrState;
|
|
91
|
-
if (
|
|
119
|
+
if (args?.connectorId === undefined && !opts.urn) {
|
|
92
120
|
throw new Error("Missing required property 'connectorId'");
|
|
93
121
|
}
|
|
94
|
-
resourceInputs["connectorId"] = args
|
|
95
|
-
resourceInputs["fingerprints"] = args
|
|
122
|
+
resourceInputs["connectorId"] = args?.connectorId;
|
|
123
|
+
resourceInputs["fingerprints"] = args?.fingerprints;
|
|
96
124
|
}
|
|
97
125
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
126
|
super(ConnectorFingerprints.__pulumiType, name, resourceInputs, opts);
|
|
99
127
|
}
|
|
100
128
|
}
|
|
101
129
|
exports.ConnectorFingerprints = ConnectorFingerprints;
|
|
102
|
-
/** @internal */
|
|
103
|
-
ConnectorFingerprints.__pulumiType = 'fivetran:index/connectorFingerprints:ConnectorFingerprints';
|
|
104
130
|
//# sourceMappingURL=connectorFingerprints.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorFingerprints.js","sourceRoot":"","sources":["../connectorFingerprints.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"connectorFingerprints.js","sourceRoot":"","sources":["../connectorFingerprints.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4DAA4D,CAAC;IAEnG;;;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;IAgBD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;SACxD;aAAM;YACH,MAAM,IAAI,GAAG,WAAoD,CAAC;YAClE,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;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;;AA3DL,sDA4DC"}
|
package/connectorSchedule.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
10
10
|
*
|
|
11
|
-
* const myConnectorSchedule = new fivetran.ConnectorSchedule("
|
|
12
|
-
* connectorId:
|
|
11
|
+
* const myConnectorSchedule = new fivetran.ConnectorSchedule("my_connector_schedule", {
|
|
12
|
+
* connectorId: myConnector.id,
|
|
13
13
|
* syncFrequency: "1440",
|
|
14
14
|
* dailySyncTime: "03:00",
|
|
15
15
|
* paused: "false",
|
|
@@ -22,43 +22,33 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
*
|
|
23
23
|
* You don't need to import this resource as it is synthetic.
|
|
24
24
|
*
|
|
25
|
-
* To fetch schedule values from existing connector use `
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* data "fivetran_connector" "my_connector" {
|
|
30
|
-
*
|
|
31
|
-
* id = "my_connector_id"
|
|
32
|
-
*
|
|
33
|
-
* }
|
|
34
|
-
*
|
|
35
|
-
* now you can use schedule values from this data_source:
|
|
36
|
-
*
|
|
37
|
-
* sync_frequency = data.fivetran_connector.my_connector.sync_frequency
|
|
25
|
+
* To fetch schedule values from existing connector use `fivetran.Connector` data source:
|
|
26
|
+
* ```typescript
|
|
27
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
38
29
|
*
|
|
39
|
-
*
|
|
30
|
+
* const myConnector = fivetran.getConnector({
|
|
31
|
+
* id: "my_connector_id",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
40
34
|
*
|
|
41
35
|
* This resource manages settings for already existing connector instance and doesn't create a new one.
|
|
36
|
+
* If you already have an existing connector with id = `myConnectorId` just define `fivetran.ConnectorSchedule` resource:
|
|
42
37
|
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* resource "fivetran_connector_schedule" "my_connector_schedule" {
|
|
48
|
-
*
|
|
49
|
-
* connector_id = "my_connector_id"
|
|
50
|
-
*
|
|
51
|
-
* sync_frequency = "360"
|
|
52
|
-
*
|
|
53
|
-
* paused = false
|
|
54
|
-
*
|
|
55
|
-
* pause_after_trial = true
|
|
56
|
-
*
|
|
57
|
-
* schedule_type = "auto"
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
58
41
|
*
|
|
59
|
-
*
|
|
42
|
+
* const myConnectorSchedule = new fivetran.ConnectorSchedule("my_connector_schedule", {
|
|
43
|
+
* connectorId: "my_connector_id",
|
|
44
|
+
* syncFrequency: "360",
|
|
45
|
+
* paused: "false",
|
|
46
|
+
* pauseAfterTrial: "true",
|
|
47
|
+
* scheduleType: "auto",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
60
50
|
*
|
|
61
|
-
*
|
|
51
|
+
* > NOTE: You can't have several resources managing the same `connectorId`. They will be in conflict ater each `apply`.
|
|
62
52
|
*/
|
|
63
53
|
export declare class ConnectorSchedule extends pulumi.CustomResource {
|
|
64
54
|
/**
|
|
@@ -167,3 +157,4 @@ export interface ConnectorScheduleArgs {
|
|
|
167
157
|
*/
|
|
168
158
|
syncFrequency?: pulumi.Input<string>;
|
|
169
159
|
}
|
|
160
|
+
//# sourceMappingURL=connectorSchedule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorSchedule.d.ts","sourceRoot":"","sources":["../connectorSchedule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE7D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA2B7F;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
|