@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
package/teamGroupMembership.d.ts
CHANGED
|
@@ -4,19 +4,42 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* This resource allows you to create, update, and delete group membership for teams
|
|
6
6
|
*
|
|
7
|
-
* ##
|
|
7
|
+
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
10
12
|
*
|
|
11
|
-
*
|
|
13
|
+
* const testTeamGroupMembership = new fivetran.TeamGroupMembership("test_team_group_membership", {
|
|
14
|
+
* teamId: "test_team",
|
|
15
|
+
* groups: [
|
|
16
|
+
* {
|
|
17
|
+
* connectorId: "test_connector",
|
|
18
|
+
* groupId: "test_group",
|
|
19
|
+
* role: "Destination Administrator",
|
|
20
|
+
* },
|
|
21
|
+
* {
|
|
22
|
+
* connectorId: "test_connector",
|
|
23
|
+
* groupId: "test_group",
|
|
24
|
+
* role: "Destination Administrator",
|
|
25
|
+
* },
|
|
26
|
+
* ],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
12
29
|
*
|
|
13
|
-
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* 1. To import an existing `fivetran.TeamGroupMembership` resource into your Terraform state, you need to get `teamId` and `groupId`
|
|
33
|
+
* You can retrieve all teams using the [fivetran.getTeams data source](https://www.terraform.io/docs/data-sources/teams).
|
|
14
34
|
*
|
|
15
|
-
*
|
|
35
|
+
* 2. Define an empty resource in your `.tf` configuration:
|
|
16
36
|
*
|
|
17
|
-
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
18
40
|
*
|
|
19
|
-
* }
|
|
41
|
+
* const myImportedFivetranTeamGroupMembership = new fivetran.TeamGroupMembership("my_imported_fivetran_team_group_membership", {});
|
|
42
|
+
* ```
|
|
20
43
|
*
|
|
21
44
|
* 3. Run the `pulumi import` command:
|
|
22
45
|
*
|
|
@@ -26,8 +49,9 @@ import * as outputs from "./types/output";
|
|
|
26
49
|
*
|
|
27
50
|
* 4. Use the `terraform state show` command to get the values from the state:
|
|
28
51
|
*
|
|
52
|
+
* ```sh
|
|
29
53
|
* terraform state show 'fivetran_team_group_membership.my_imported_fivetran_team_group_membership'
|
|
30
|
-
*
|
|
54
|
+
* ```
|
|
31
55
|
* 5. Copy the values and paste them to your `.tf` configuration.
|
|
32
56
|
*/
|
|
33
57
|
export declare class TeamGroupMembership extends pulumi.CustomResource {
|
|
@@ -80,3 +104,4 @@ export interface TeamGroupMembershipArgs {
|
|
|
80
104
|
*/
|
|
81
105
|
teamId: pulumi.Input<string>;
|
|
82
106
|
}
|
|
107
|
+
//# sourceMappingURL=teamGroupMembership.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teamGroupMembership.d.ts","sourceRoot":"","sources":["../teamGroupMembership.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,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOxJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,wBAAwB,EAAE,GAAG,SAAS,CAAC,CAAC;IAC9F;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEtD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmB/F;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;IACvE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;IACvE;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
package/teamGroupMembership.js
CHANGED
|
@@ -1,26 +1,72 @@
|
|
|
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.TeamGroupMembership = 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 create, update, and delete group membership for teams
|
|
10
33
|
*
|
|
11
|
-
* ##
|
|
34
|
+
* ## Example Usage
|
|
12
35
|
*
|
|
13
|
-
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
14
39
|
*
|
|
15
|
-
*
|
|
40
|
+
* const testTeamGroupMembership = new fivetran.TeamGroupMembership("test_team_group_membership", {
|
|
41
|
+
* teamId: "test_team",
|
|
42
|
+
* groups: [
|
|
43
|
+
* {
|
|
44
|
+
* connectorId: "test_connector",
|
|
45
|
+
* groupId: "test_group",
|
|
46
|
+
* role: "Destination Administrator",
|
|
47
|
+
* },
|
|
48
|
+
* {
|
|
49
|
+
* connectorId: "test_connector",
|
|
50
|
+
* groupId: "test_group",
|
|
51
|
+
* role: "Destination Administrator",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
16
56
|
*
|
|
17
|
-
*
|
|
57
|
+
* ## Import
|
|
18
58
|
*
|
|
19
|
-
*
|
|
59
|
+
* 1. To import an existing `fivetran.TeamGroupMembership` resource into your Terraform state, you need to get `teamId` and `groupId`
|
|
60
|
+
* You can retrieve all teams using the [fivetran.getTeams data source](https://www.terraform.io/docs/data-sources/teams).
|
|
20
61
|
*
|
|
21
|
-
* resource
|
|
62
|
+
* 2. Define an empty resource in your `.tf` configuration:
|
|
22
63
|
*
|
|
23
|
-
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
67
|
+
*
|
|
68
|
+
* const myImportedFivetranTeamGroupMembership = new fivetran.TeamGroupMembership("my_imported_fivetran_team_group_membership", {});
|
|
69
|
+
* ```
|
|
24
70
|
*
|
|
25
71
|
* 3. Run the `pulumi import` command:
|
|
26
72
|
*
|
|
@@ -30,8 +76,9 @@ const utilities = require("./utilities");
|
|
|
30
76
|
*
|
|
31
77
|
* 4. Use the `terraform state show` command to get the values from the state:
|
|
32
78
|
*
|
|
79
|
+
* ```sh
|
|
33
80
|
* terraform state show 'fivetran_team_group_membership.my_imported_fivetran_team_group_membership'
|
|
34
|
-
*
|
|
81
|
+
* ```
|
|
35
82
|
* 5. Copy the values and paste them to your `.tf` configuration.
|
|
36
83
|
*/
|
|
37
84
|
class TeamGroupMembership extends pulumi.CustomResource {
|
|
@@ -45,8 +92,10 @@ class TeamGroupMembership extends pulumi.CustomResource {
|
|
|
45
92
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
93
|
*/
|
|
47
94
|
static get(name, id, state, opts) {
|
|
48
|
-
return new TeamGroupMembership(name, state,
|
|
95
|
+
return new TeamGroupMembership(name, state, { ...opts, id: id });
|
|
49
96
|
}
|
|
97
|
+
/** @internal */
|
|
98
|
+
static __pulumiType = 'fivetran:index/teamGroupMembership:TeamGroupMembership';
|
|
50
99
|
/**
|
|
51
100
|
* Returns true if the given object is an instance of TeamGroupMembership. This is designed to work even
|
|
52
101
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -62,22 +111,20 @@ class TeamGroupMembership extends pulumi.CustomResource {
|
|
|
62
111
|
opts = opts || {};
|
|
63
112
|
if (opts.id) {
|
|
64
113
|
const state = argsOrState;
|
|
65
|
-
resourceInputs["groups"] = state
|
|
66
|
-
resourceInputs["teamId"] = state
|
|
114
|
+
resourceInputs["groups"] = state?.groups;
|
|
115
|
+
resourceInputs["teamId"] = state?.teamId;
|
|
67
116
|
}
|
|
68
117
|
else {
|
|
69
118
|
const args = argsOrState;
|
|
70
|
-
if (
|
|
119
|
+
if (args?.teamId === undefined && !opts.urn) {
|
|
71
120
|
throw new Error("Missing required property 'teamId'");
|
|
72
121
|
}
|
|
73
|
-
resourceInputs["groups"] = args
|
|
74
|
-
resourceInputs["teamId"] = args
|
|
122
|
+
resourceInputs["groups"] = args?.groups;
|
|
123
|
+
resourceInputs["teamId"] = args?.teamId;
|
|
75
124
|
}
|
|
76
125
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
126
|
super(TeamGroupMembership.__pulumiType, name, resourceInputs, opts);
|
|
78
127
|
}
|
|
79
128
|
}
|
|
80
129
|
exports.TeamGroupMembership = TeamGroupMembership;
|
|
81
|
-
/** @internal */
|
|
82
|
-
TeamGroupMembership.__pulumiType = 'fivetran:index/teamGroupMembership:TeamGroupMembership';
|
|
83
130
|
//# sourceMappingURL=teamGroupMembership.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamGroupMembership.js","sourceRoot":"","sources":["../teamGroupMembership.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"teamGroupMembership.js","sourceRoot":"","sources":["../teamGroupMembership.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,c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CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA3DL,kDA4DC"}
|
package/teamUserMembership.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ 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 testTeamUserMembership = new fivetran.TeamUserMembership("
|
|
13
|
+
* const testTeamUserMembership = new fivetran.TeamUserMembership("test_team_user_membership", {
|
|
14
14
|
* teamId: "test_team",
|
|
15
15
|
* users: [
|
|
16
16
|
* {
|
|
@@ -22,24 +22,22 @@ import * as outputs from "./types/output";
|
|
|
22
22
|
* role: "Connector Administrator",
|
|
23
23
|
* },
|
|
24
24
|
* ],
|
|
25
|
-
* }, {
|
|
26
|
-
* provider: fivetran_provider,
|
|
27
25
|
* });
|
|
28
26
|
* ```
|
|
29
27
|
*
|
|
30
28
|
* ## Import
|
|
31
29
|
*
|
|
32
|
-
* 1. To import an existing `
|
|
33
|
-
*
|
|
34
|
-
* You can retrieve all teams using the [fivetran_teams data source](/docs/data-sources/teams).
|
|
30
|
+
* 1. To import an existing `fivetran.TeamUserMembership` resource into your Terraform state, you need to get `teamId` and `userId`
|
|
31
|
+
* You can retrieve all teams using the [fivetran.getTeams data source](https://www.terraform.io/docs/data-sources/teams).
|
|
35
32
|
*
|
|
36
33
|
* 2. Define an empty resource in your `.tf` configuration:
|
|
37
34
|
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
41
38
|
*
|
|
42
|
-
* }
|
|
39
|
+
* const myImportedFivetranTeamUserMembership = new fivetran.TeamUserMembership("my_imported_fivetran_team_user_membership", {});
|
|
40
|
+
* ```
|
|
43
41
|
*
|
|
44
42
|
* 3. Run the `pulumi import` command:
|
|
45
43
|
*
|
|
@@ -49,8 +47,9 @@ import * as outputs from "./types/output";
|
|
|
49
47
|
*
|
|
50
48
|
* 4. Use the `terraform state show` command to get the values from the state:
|
|
51
49
|
*
|
|
50
|
+
* ```sh
|
|
52
51
|
* terraform state show 'fivetran_team_user_membership.my_imported_fivetran_team_user_membership'
|
|
53
|
-
*
|
|
52
|
+
* ```
|
|
54
53
|
* 5. Copy the values and paste them to your `.tf` configuration.
|
|
55
54
|
*/
|
|
56
55
|
export declare class TeamUserMembership extends pulumi.CustomResource {
|
|
@@ -103,3 +102,4 @@ export interface TeamUserMembershipArgs {
|
|
|
103
102
|
teamId: pulumi.Input<string>;
|
|
104
103
|
users?: pulumi.Input<pulumi.Input<inputs.TeamUserMembershipUser>[]>;
|
|
105
104
|
}
|
|
105
|
+
//# sourceMappingURL=teamUserMembership.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teamUserMembership.d.ts","sourceRoot":"","sources":["../teamUserMembership.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,qBAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,kBAAkB;IAOtJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,kBAAkB;IAO7D;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,sBAAsB,EAAE,GAAG,SAAS,CAAC,CAAC;IAE3F;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmB9F;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC;CACvE;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC;CACvE"}
|
package/teamUserMembership.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.TeamUserMembership = 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 create, update, and delete user membership for teams
|
|
10
33
|
*
|
|
@@ -14,7 +37,7 @@ 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 testTeamUserMembership = new fivetran.TeamUserMembership("
|
|
40
|
+
* const testTeamUserMembership = new fivetran.TeamUserMembership("test_team_user_membership", {
|
|
18
41
|
* teamId: "test_team",
|
|
19
42
|
* users: [
|
|
20
43
|
* {
|
|
@@ -26,24 +49,22 @@ const utilities = require("./utilities");
|
|
|
26
49
|
* role: "Connector Administrator",
|
|
27
50
|
* },
|
|
28
51
|
* ],
|
|
29
|
-
* }, {
|
|
30
|
-
* provider: fivetran_provider,
|
|
31
52
|
* });
|
|
32
53
|
* ```
|
|
33
54
|
*
|
|
34
55
|
* ## Import
|
|
35
56
|
*
|
|
36
|
-
* 1. To import an existing `
|
|
37
|
-
*
|
|
38
|
-
* You can retrieve all teams using the [fivetran_teams data source](/docs/data-sources/teams).
|
|
57
|
+
* 1. To import an existing `fivetran.TeamUserMembership` resource into your Terraform state, you need to get `teamId` and `userId`
|
|
58
|
+
* You can retrieve all teams using the [fivetran.getTeams data source](https://www.terraform.io/docs/data-sources/teams).
|
|
39
59
|
*
|
|
40
60
|
* 2. Define an empty resource in your `.tf` configuration:
|
|
41
61
|
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
45
65
|
*
|
|
46
|
-
* }
|
|
66
|
+
* const myImportedFivetranTeamUserMembership = new fivetran.TeamUserMembership("my_imported_fivetran_team_user_membership", {});
|
|
67
|
+
* ```
|
|
47
68
|
*
|
|
48
69
|
* 3. Run the `pulumi import` command:
|
|
49
70
|
*
|
|
@@ -53,8 +74,9 @@ const utilities = require("./utilities");
|
|
|
53
74
|
*
|
|
54
75
|
* 4. Use the `terraform state show` command to get the values from the state:
|
|
55
76
|
*
|
|
77
|
+
* ```sh
|
|
56
78
|
* terraform state show 'fivetran_team_user_membership.my_imported_fivetran_team_user_membership'
|
|
57
|
-
*
|
|
79
|
+
* ```
|
|
58
80
|
* 5. Copy the values and paste them to your `.tf` configuration.
|
|
59
81
|
*/
|
|
60
82
|
class TeamUserMembership extends pulumi.CustomResource {
|
|
@@ -68,8 +90,10 @@ class TeamUserMembership extends pulumi.CustomResource {
|
|
|
68
90
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
91
|
*/
|
|
70
92
|
static get(name, id, state, opts) {
|
|
71
|
-
return new TeamUserMembership(name, state,
|
|
93
|
+
return new TeamUserMembership(name, state, { ...opts, id: id });
|
|
72
94
|
}
|
|
95
|
+
/** @internal */
|
|
96
|
+
static __pulumiType = 'fivetran:index/teamUserMembership:TeamUserMembership';
|
|
73
97
|
/**
|
|
74
98
|
* Returns true if the given object is an instance of TeamUserMembership. This is designed to work even
|
|
75
99
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -85,22 +109,20 @@ class TeamUserMembership extends pulumi.CustomResource {
|
|
|
85
109
|
opts = opts || {};
|
|
86
110
|
if (opts.id) {
|
|
87
111
|
const state = argsOrState;
|
|
88
|
-
resourceInputs["teamId"] = state
|
|
89
|
-
resourceInputs["users"] = state
|
|
112
|
+
resourceInputs["teamId"] = state?.teamId;
|
|
113
|
+
resourceInputs["users"] = state?.users;
|
|
90
114
|
}
|
|
91
115
|
else {
|
|
92
116
|
const args = argsOrState;
|
|
93
|
-
if (
|
|
117
|
+
if (args?.teamId === undefined && !opts.urn) {
|
|
94
118
|
throw new Error("Missing required property 'teamId'");
|
|
95
119
|
}
|
|
96
|
-
resourceInputs["teamId"] = args
|
|
97
|
-
resourceInputs["users"] = args
|
|
120
|
+
resourceInputs["teamId"] = args?.teamId;
|
|
121
|
+
resourceInputs["users"] = args?.users;
|
|
98
122
|
}
|
|
99
123
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
124
|
super(TeamUserMembership.__pulumiType, name, resourceInputs, opts);
|
|
101
125
|
}
|
|
102
126
|
}
|
|
103
127
|
exports.TeamUserMembership = TeamUserMembership;
|
|
104
|
-
/** @internal */
|
|
105
|
-
TeamUserMembership.__pulumiType = 'fivetran:index/teamUserMembership:TeamUserMembership';
|
|
106
128
|
//# sourceMappingURL=teamUserMembership.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamUserMembership.js","sourceRoot":"","sources":["../teamUserMembership.ts"],"names":[],"mapp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,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA3DL,gDA4DC"}
|
package/transformation.d.ts
CHANGED
|
@@ -8,47 +8,87 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* ###
|
|
11
|
+
* ### Dbt Core Transformation
|
|
12
12
|
*
|
|
13
13
|
* ```typescript
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
16
|
+
*
|
|
17
|
+
* const transformation = new fivetran.Transformation("transformation", {
|
|
18
|
+
* type: "DBT_CORE",
|
|
19
|
+
* paused: true,
|
|
20
|
+
* schedule: {
|
|
21
|
+
* scheduleType: "TIME_OF_DAY",
|
|
22
|
+
* timeOfDay: "11:00",
|
|
23
|
+
* },
|
|
24
|
+
* transformationConfig: {
|
|
25
|
+
* projectId: "project_id",
|
|
26
|
+
* name: "name",
|
|
27
|
+
* steps: [
|
|
28
|
+
* {
|
|
29
|
+
* name: "name1",
|
|
30
|
+
* command: "command1",
|
|
31
|
+
* },
|
|
32
|
+
* {
|
|
33
|
+
* name: "name2",
|
|
34
|
+
* command: "command2",
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
15
39
|
* ```
|
|
16
40
|
*
|
|
17
|
-
*
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
-
* ```
|
|
41
|
+
* ### Quickstart Transformation
|
|
24
42
|
*
|
|
25
43
|
* ```typescript
|
|
26
44
|
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
46
|
+
*
|
|
47
|
+
* const transformation = new fivetran.Transformation("transformation", {
|
|
48
|
+
* type: "QUICKSTART",
|
|
49
|
+
* paused: true,
|
|
50
|
+
* schedule: {
|
|
51
|
+
* scheduleType: "TIME_OF_DAY",
|
|
52
|
+
* timeOfDay: "11:00",
|
|
53
|
+
* },
|
|
54
|
+
* transformationConfig: {
|
|
55
|
+
* packageName: "package_name",
|
|
56
|
+
* connectionIds: [
|
|
57
|
+
* "connection_id1",
|
|
58
|
+
* "connection_id2",
|
|
59
|
+
* ],
|
|
60
|
+
* excludedModels: [
|
|
61
|
+
* "excluded_model1",
|
|
62
|
+
* "excluded_model2",
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* });
|
|
27
66
|
* ```
|
|
28
67
|
*
|
|
29
68
|
* ## Import
|
|
30
69
|
*
|
|
31
|
-
* 1. To import an existing `
|
|
32
|
-
*
|
|
70
|
+
* 1. To import an existing `fivetran.Transformation` resource into your Terraform state, you need to get **Transformation ID** via API call `GET https://api.fivetran.com/v1/transformations` to retrieve available projects.
|
|
33
71
|
* 2. Fetch transformation details for particular `transformation-id` using `GET https://api.fivetran.com/v1/transformations/{transformation-id}` to ensure that this is the transformation you want to import.
|
|
34
|
-
*
|
|
35
72
|
* 3. Define an empty resource in your `.tf` configuration:
|
|
36
73
|
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
40
77
|
*
|
|
41
|
-
* }
|
|
78
|
+
* const myImportedFivetranTransformation = new fivetran.Transformation("my_imported_fivetran_transformation", {});
|
|
79
|
+
* ```
|
|
42
80
|
*
|
|
43
81
|
* 4. Run the `pulumi import` command:
|
|
44
82
|
*
|
|
45
83
|
* ```sh
|
|
46
|
-
*
|
|
84
|
+
* terraform import fivetran_transformation.my_imported_fivetran_transformation {Transformation ID}
|
|
47
85
|
* ```
|
|
48
86
|
*
|
|
49
87
|
* 4. Use the `terraform state show` command to get the values from the state:
|
|
50
88
|
*
|
|
89
|
+
* ```sh
|
|
51
90
|
* terraform state show 'fivetran_transformation.my_imported_fivetran_transformation'
|
|
91
|
+
* ```
|
|
52
92
|
*
|
|
53
93
|
* 5. Copy the values and paste them to your `.tf` configuration.
|
|
54
94
|
*/
|
|
@@ -149,3 +189,4 @@ export interface TransformationArgs {
|
|
|
149
189
|
*/
|
|
150
190
|
type?: pulumi.Input<string>;
|
|
151
191
|
}
|
|
192
|
+
//# sourceMappingURL=transformation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transformation.d.ts","sourceRoot":"","sources":["../transformation.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AACH,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,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