@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/webhook.js
CHANGED
|
@@ -1,26 +1,49 @@
|
|
|
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.Webhook = 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 webhooks.
|
|
10
33
|
*
|
|
11
34
|
* ## Import
|
|
12
35
|
*
|
|
13
|
-
* 1. To import an existing `
|
|
14
|
-
*
|
|
15
|
-
* You can retrieve all webhooks using the [fivetran_webhooks data source](/docs/data-sources/webhooks).
|
|
36
|
+
* 1. To import an existing `fivetran.Webhook` resource into your Terraform state, you need to get `webhookId`.
|
|
37
|
+
* You can retrieve all webhooks using the [fivetran.getWebhooks data source](https://www.terraform.io/docs/data-sources/webhooks).
|
|
16
38
|
*
|
|
17
39
|
* 2. Define an empty resource in your `.tf` configuration:
|
|
18
40
|
*
|
|
19
|
-
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
20
44
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* }
|
|
45
|
+
* const myImportedFivetranWebhook = new fivetran.Webhook("my_imported_fivetran_webhook", {});
|
|
46
|
+
* ```
|
|
24
47
|
*
|
|
25
48
|
* 3. Run the `pulumi import` command:
|
|
26
49
|
*
|
|
@@ -30,8 +53,9 @@ const utilities = require("./utilities");
|
|
|
30
53
|
*
|
|
31
54
|
* 4. Use the `terraform state show` command to get the values from the state:
|
|
32
55
|
*
|
|
56
|
+
* ```sh
|
|
33
57
|
* terraform state show 'fivetran_webhook.my_imported_fivetran_webhook'
|
|
34
|
-
*
|
|
58
|
+
* ```
|
|
35
59
|
* 5. Copy the values and paste them to your `.tf` configuration.
|
|
36
60
|
*/
|
|
37
61
|
class Webhook extends pulumi.CustomResource {
|
|
@@ -45,8 +69,10 @@ class Webhook extends pulumi.CustomResource {
|
|
|
45
69
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
70
|
*/
|
|
47
71
|
static get(name, id, state, opts) {
|
|
48
|
-
return new Webhook(name, state,
|
|
72
|
+
return new Webhook(name, state, { ...opts, id: id });
|
|
49
73
|
}
|
|
74
|
+
/** @internal */
|
|
75
|
+
static __pulumiType = 'fivetran:index/webhook:Webhook';
|
|
50
76
|
/**
|
|
51
77
|
* Returns true if the given object is an instance of Webhook. This is designed to work even
|
|
52
78
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -62,40 +88,40 @@ class Webhook extends pulumi.CustomResource {
|
|
|
62
88
|
opts = opts || {};
|
|
63
89
|
if (opts.id) {
|
|
64
90
|
const state = argsOrState;
|
|
65
|
-
resourceInputs["active"] = state
|
|
66
|
-
resourceInputs["createdAt"] = state
|
|
67
|
-
resourceInputs["createdBy"] = state
|
|
68
|
-
resourceInputs["events"] = state
|
|
69
|
-
resourceInputs["groupId"] = state
|
|
70
|
-
resourceInputs["runTests"] = state
|
|
71
|
-
resourceInputs["secret"] = state
|
|
72
|
-
resourceInputs["type"] = state
|
|
73
|
-
resourceInputs["url"] = state
|
|
91
|
+
resourceInputs["active"] = state?.active;
|
|
92
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
93
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
94
|
+
resourceInputs["events"] = state?.events;
|
|
95
|
+
resourceInputs["groupId"] = state?.groupId;
|
|
96
|
+
resourceInputs["runTests"] = state?.runTests;
|
|
97
|
+
resourceInputs["secret"] = state?.secret;
|
|
98
|
+
resourceInputs["type"] = state?.type;
|
|
99
|
+
resourceInputs["url"] = state?.url;
|
|
74
100
|
}
|
|
75
101
|
else {
|
|
76
102
|
const args = argsOrState;
|
|
77
|
-
if (
|
|
103
|
+
if (args?.active === undefined && !opts.urn) {
|
|
78
104
|
throw new Error("Missing required property 'active'");
|
|
79
105
|
}
|
|
80
|
-
if (
|
|
106
|
+
if (args?.events === undefined && !opts.urn) {
|
|
81
107
|
throw new Error("Missing required property 'events'");
|
|
82
108
|
}
|
|
83
|
-
if (
|
|
109
|
+
if (args?.secret === undefined && !opts.urn) {
|
|
84
110
|
throw new Error("Missing required property 'secret'");
|
|
85
111
|
}
|
|
86
|
-
if (
|
|
112
|
+
if (args?.type === undefined && !opts.urn) {
|
|
87
113
|
throw new Error("Missing required property 'type'");
|
|
88
114
|
}
|
|
89
|
-
if (
|
|
115
|
+
if (args?.url === undefined && !opts.urn) {
|
|
90
116
|
throw new Error("Missing required property 'url'");
|
|
91
117
|
}
|
|
92
|
-
resourceInputs["active"] = args
|
|
93
|
-
resourceInputs["events"] = args
|
|
94
|
-
resourceInputs["groupId"] = args
|
|
95
|
-
resourceInputs["runTests"] = args
|
|
96
|
-
resourceInputs["secret"] =
|
|
97
|
-
resourceInputs["type"] = args
|
|
98
|
-
resourceInputs["url"] = args
|
|
118
|
+
resourceInputs["active"] = args?.active;
|
|
119
|
+
resourceInputs["events"] = args?.events;
|
|
120
|
+
resourceInputs["groupId"] = args?.groupId;
|
|
121
|
+
resourceInputs["runTests"] = args?.runTests;
|
|
122
|
+
resourceInputs["secret"] = args?.secret ? pulumi.secret(args.secret) : undefined;
|
|
123
|
+
resourceInputs["type"] = args?.type;
|
|
124
|
+
resourceInputs["url"] = args?.url;
|
|
99
125
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
100
126
|
resourceInputs["createdBy"] = undefined /*out*/;
|
|
101
127
|
}
|
|
@@ -106,6 +132,4 @@ class Webhook extends pulumi.CustomResource {
|
|
|
106
132
|
}
|
|
107
133
|
}
|
|
108
134
|
exports.Webhook = Webhook;
|
|
109
|
-
/** @internal */
|
|
110
|
-
Webhook.__pulumiType = 'fivetran:index/webhook:Webhook';
|
|
111
135
|
//# sourceMappingURL=webhook.js.map
|
package/webhook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../webhook.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../webhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;I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,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAtHL,0BAuHC"}
|
package/dbtGitProjectConfig.d.ts
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* This resource is Deprecated, please follow the 1.5.0 migration guide to update the schema.
|
|
4
|
-
*
|
|
5
|
-
* This resource allows you to add and manage dbt Git Projects Configs.
|
|
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 gitProjectConfig = new fivetran.DbtGitProjectConfig("gitProjectConfig", {
|
|
14
|
-
* folderPath: "/dbt/project/folder/path",
|
|
15
|
-
* gitBranch: "main",
|
|
16
|
-
* gitRemoteUrl: "your_git_remote_url",
|
|
17
|
-
* projectId: "project_id",
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* ## Import
|
|
22
|
-
*
|
|
23
|
-
* 1. To import an existing `fivetran_dbt_git_project_config` resource into your Terraform state, you need to get **Dbt Project ID** via API call `GET https://api.fivetran.com/v1/dbt/projects` to retrieve available projects.
|
|
24
|
-
*
|
|
25
|
-
* 2. Fetch project details for particular `project-id` using `GET https://api.fivetran.com/v1/dbt/projects/{project-id}` to ensure that this is the project you want to import.
|
|
26
|
-
*
|
|
27
|
-
* 3. Define an empty resource in your `.tf` configuration:
|
|
28
|
-
*
|
|
29
|
-
* hcl
|
|
30
|
-
*
|
|
31
|
-
* resource "fivetran_dbt_git_project_config" "my_imported_fivetran_dbt_git_project_config" {
|
|
32
|
-
*
|
|
33
|
-
* }
|
|
34
|
-
*
|
|
35
|
-
* 4. Run the `pulumi import` command:
|
|
36
|
-
*
|
|
37
|
-
* ```sh
|
|
38
|
-
* $ pulumi import fivetran:index/dbtGitProjectConfig:DbtGitProjectConfig my_imported_fivetran_dbt_git_project_config {Dbt Project ID}
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* 4. Use the `terraform state show` command to get the values from the state:
|
|
42
|
-
*
|
|
43
|
-
* terraform state show 'fivetran_dbt_git_project_config.my_imported_fivetran_dbt_git_project_config'
|
|
44
|
-
*
|
|
45
|
-
* 5. Copy the values and paste them to your `.tf` configuration.
|
|
46
|
-
*/
|
|
47
|
-
export declare class DbtGitProjectConfig extends pulumi.CustomResource {
|
|
48
|
-
/**
|
|
49
|
-
* Get an existing DbtGitProjectConfig resource's state with the given name, ID, and optional extra
|
|
50
|
-
* properties used to qualify the lookup.
|
|
51
|
-
*
|
|
52
|
-
* @param name The _unique_ name of the resulting resource.
|
|
53
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
-
* @param state Any extra arguments used during the lookup.
|
|
55
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
-
*/
|
|
57
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DbtGitProjectConfigState, opts?: pulumi.CustomResourceOptions): DbtGitProjectConfig;
|
|
58
|
-
/**
|
|
59
|
-
* Returns true if the given object is an instance of DbtGitProjectConfig. This is designed to work even
|
|
60
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
-
*/
|
|
62
|
-
static isInstance(obj: any): obj is DbtGitProjectConfig;
|
|
63
|
-
/**
|
|
64
|
-
* Should resource wait for project to finish initialization. Default value: false.
|
|
65
|
-
*/
|
|
66
|
-
readonly ensureReadiness: pulumi.Output<boolean>;
|
|
67
|
-
/**
|
|
68
|
-
* Folder in Git repo with your dbt project.
|
|
69
|
-
*/
|
|
70
|
-
readonly folderPath: pulumi.Output<string | undefined>;
|
|
71
|
-
/**
|
|
72
|
-
* Git branch.
|
|
73
|
-
*/
|
|
74
|
-
readonly gitBranch: pulumi.Output<string | undefined>;
|
|
75
|
-
/**
|
|
76
|
-
* Git remote URL with your dbt project.
|
|
77
|
-
*/
|
|
78
|
-
readonly gitRemoteUrl: pulumi.Output<string | undefined>;
|
|
79
|
-
/**
|
|
80
|
-
* The unique identifier for the dbt Project within the Fivetran system.
|
|
81
|
-
*/
|
|
82
|
-
readonly projectId: pulumi.Output<string>;
|
|
83
|
-
/**
|
|
84
|
-
* Create a DbtGitProjectConfig resource with the given unique name, arguments, and options.
|
|
85
|
-
*
|
|
86
|
-
* @param name The _unique_ name of the resource.
|
|
87
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
88
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
89
|
-
*/
|
|
90
|
-
constructor(name: string, args: DbtGitProjectConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Input properties used for looking up and filtering DbtGitProjectConfig resources.
|
|
94
|
-
*/
|
|
95
|
-
export interface DbtGitProjectConfigState {
|
|
96
|
-
/**
|
|
97
|
-
* Should resource wait for project to finish initialization. Default value: false.
|
|
98
|
-
*/
|
|
99
|
-
ensureReadiness?: pulumi.Input<boolean>;
|
|
100
|
-
/**
|
|
101
|
-
* Folder in Git repo with your dbt project.
|
|
102
|
-
*/
|
|
103
|
-
folderPath?: pulumi.Input<string>;
|
|
104
|
-
/**
|
|
105
|
-
* Git branch.
|
|
106
|
-
*/
|
|
107
|
-
gitBranch?: pulumi.Input<string>;
|
|
108
|
-
/**
|
|
109
|
-
* Git remote URL with your dbt project.
|
|
110
|
-
*/
|
|
111
|
-
gitRemoteUrl?: pulumi.Input<string>;
|
|
112
|
-
/**
|
|
113
|
-
* The unique identifier for the dbt Project within the Fivetran system.
|
|
114
|
-
*/
|
|
115
|
-
projectId?: pulumi.Input<string>;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* The set of arguments for constructing a DbtGitProjectConfig resource.
|
|
119
|
-
*/
|
|
120
|
-
export interface DbtGitProjectConfigArgs {
|
|
121
|
-
/**
|
|
122
|
-
* Should resource wait for project to finish initialization. Default value: false.
|
|
123
|
-
*/
|
|
124
|
-
ensureReadiness?: pulumi.Input<boolean>;
|
|
125
|
-
/**
|
|
126
|
-
* Folder in Git repo with your dbt project.
|
|
127
|
-
*/
|
|
128
|
-
folderPath?: pulumi.Input<string>;
|
|
129
|
-
/**
|
|
130
|
-
* Git branch.
|
|
131
|
-
*/
|
|
132
|
-
gitBranch?: pulumi.Input<string>;
|
|
133
|
-
/**
|
|
134
|
-
* Git remote URL with your dbt project.
|
|
135
|
-
*/
|
|
136
|
-
gitRemoteUrl?: pulumi.Input<string>;
|
|
137
|
-
/**
|
|
138
|
-
* The unique identifier for the dbt Project within the Fivetran system.
|
|
139
|
-
*/
|
|
140
|
-
projectId: pulumi.Input<string>;
|
|
141
|
-
}
|
package/dbtGitProjectConfig.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
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.DbtGitProjectConfig = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* This resource is Deprecated, please follow the 1.5.0 migration guide to update the schema.
|
|
10
|
-
*
|
|
11
|
-
* This resource allows you to add and manage dbt Git Projects Configs.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
18
|
-
*
|
|
19
|
-
* const gitProjectConfig = new fivetran.DbtGitProjectConfig("gitProjectConfig", {
|
|
20
|
-
* folderPath: "/dbt/project/folder/path",
|
|
21
|
-
* gitBranch: "main",
|
|
22
|
-
* gitRemoteUrl: "your_git_remote_url",
|
|
23
|
-
* projectId: "project_id",
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* ## Import
|
|
28
|
-
*
|
|
29
|
-
* 1. To import an existing `fivetran_dbt_git_project_config` resource into your Terraform state, you need to get **Dbt Project ID** via API call `GET https://api.fivetran.com/v1/dbt/projects` to retrieve available projects.
|
|
30
|
-
*
|
|
31
|
-
* 2. Fetch project details for particular `project-id` using `GET https://api.fivetran.com/v1/dbt/projects/{project-id}` to ensure that this is the project you want to import.
|
|
32
|
-
*
|
|
33
|
-
* 3. Define an empty resource in your `.tf` configuration:
|
|
34
|
-
*
|
|
35
|
-
* hcl
|
|
36
|
-
*
|
|
37
|
-
* resource "fivetran_dbt_git_project_config" "my_imported_fivetran_dbt_git_project_config" {
|
|
38
|
-
*
|
|
39
|
-
* }
|
|
40
|
-
*
|
|
41
|
-
* 4. Run the `pulumi import` command:
|
|
42
|
-
*
|
|
43
|
-
* ```sh
|
|
44
|
-
* $ pulumi import fivetran:index/dbtGitProjectConfig:DbtGitProjectConfig my_imported_fivetran_dbt_git_project_config {Dbt Project ID}
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* 4. Use the `terraform state show` command to get the values from the state:
|
|
48
|
-
*
|
|
49
|
-
* terraform state show 'fivetran_dbt_git_project_config.my_imported_fivetran_dbt_git_project_config'
|
|
50
|
-
*
|
|
51
|
-
* 5. Copy the values and paste them to your `.tf` configuration.
|
|
52
|
-
*/
|
|
53
|
-
class DbtGitProjectConfig extends pulumi.CustomResource {
|
|
54
|
-
/**
|
|
55
|
-
* Get an existing DbtGitProjectConfig resource's state with the given name, ID, and optional extra
|
|
56
|
-
* properties used to qualify the lookup.
|
|
57
|
-
*
|
|
58
|
-
* @param name The _unique_ name of the resulting resource.
|
|
59
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
-
* @param state Any extra arguments used during the lookup.
|
|
61
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
-
*/
|
|
63
|
-
static get(name, id, state, opts) {
|
|
64
|
-
return new DbtGitProjectConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Returns true if the given object is an instance of DbtGitProjectConfig. This is designed to work even
|
|
68
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
-
*/
|
|
70
|
-
static isInstance(obj) {
|
|
71
|
-
if (obj === undefined || obj === null) {
|
|
72
|
-
return false;
|
|
73
|
-
}
|
|
74
|
-
return obj['__pulumiType'] === DbtGitProjectConfig.__pulumiType;
|
|
75
|
-
}
|
|
76
|
-
constructor(name, argsOrState, opts) {
|
|
77
|
-
let resourceInputs = {};
|
|
78
|
-
opts = opts || {};
|
|
79
|
-
if (opts.id) {
|
|
80
|
-
const state = argsOrState;
|
|
81
|
-
resourceInputs["ensureReadiness"] = state ? state.ensureReadiness : undefined;
|
|
82
|
-
resourceInputs["folderPath"] = state ? state.folderPath : undefined;
|
|
83
|
-
resourceInputs["gitBranch"] = state ? state.gitBranch : undefined;
|
|
84
|
-
resourceInputs["gitRemoteUrl"] = state ? state.gitRemoteUrl : undefined;
|
|
85
|
-
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
86
|
-
}
|
|
87
|
-
else {
|
|
88
|
-
const args = argsOrState;
|
|
89
|
-
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
90
|
-
throw new Error("Missing required property 'projectId'");
|
|
91
|
-
}
|
|
92
|
-
resourceInputs["ensureReadiness"] = args ? args.ensureReadiness : undefined;
|
|
93
|
-
resourceInputs["folderPath"] = args ? args.folderPath : undefined;
|
|
94
|
-
resourceInputs["gitBranch"] = args ? args.gitBranch : undefined;
|
|
95
|
-
resourceInputs["gitRemoteUrl"] = args ? args.gitRemoteUrl : undefined;
|
|
96
|
-
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
97
|
-
}
|
|
98
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
-
super(DbtGitProjectConfig.__pulumiType, name, resourceInputs, opts);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
exports.DbtGitProjectConfig = DbtGitProjectConfig;
|
|
103
|
-
/** @internal */
|
|
104
|
-
DbtGitProjectConfig.__pulumiType = 'fivetran:index/dbtGitProjectConfig:DbtGitProjectConfig';
|
|
105
|
-
//# sourceMappingURL=dbtGitProjectConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dbtGitProjectConfig.js","sourceRoot":"","sources":["../dbtGitProjectConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,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E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAhFL,kDAiFC;AAnEG,gBAAgB;AACO,gCAAY,GAAG,wDAAwD,CAAC"}
|
package/dbtProject.d.ts
DELETED
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
|
-
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* This resource is Deprecated, please follow the 1.5.0 migration guide to update the schema.
|
|
6
|
-
*
|
|
7
|
-
* This resource allows you to add, manage and delete dbt Projects in your account.
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
14
|
-
*
|
|
15
|
-
* const project = new fivetran.DbtProject("project", {
|
|
16
|
-
* dbtVersion: "1.4.1",
|
|
17
|
-
* defaultSchema: "default_schema",
|
|
18
|
-
* environmentVars: ["environment_var=value"],
|
|
19
|
-
* groupId: "group_id",
|
|
20
|
-
* targetName: "target_name",
|
|
21
|
-
* threads: 8,
|
|
22
|
-
* type: "GIT",
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* ## Import
|
|
27
|
-
*
|
|
28
|
-
* 1. To import an existing `fivetran_dbt_project` resource into your Terraform state, you need to get **Dbt Project ID** via API call `GET https://api.fivetran.com/v1/dbt/projects` to retrieve available projects.
|
|
29
|
-
*
|
|
30
|
-
* 2. Fetch project details for particular `project-id` using `GET https://api.fivetran.com/v1/dbt/projects/{project-id}` to ensure that this is the project you want to import.
|
|
31
|
-
*
|
|
32
|
-
* 3. Define an empty resource in your `.tf` configuration:
|
|
33
|
-
*
|
|
34
|
-
* hcl
|
|
35
|
-
*
|
|
36
|
-
* resource "fivetran_dbt_project" "my_imported_fivetran_dbt_project" {
|
|
37
|
-
*
|
|
38
|
-
* }
|
|
39
|
-
*
|
|
40
|
-
* 4. Run the `pulumi import` command:
|
|
41
|
-
*
|
|
42
|
-
* ```sh
|
|
43
|
-
* $ pulumi import fivetran:index/dbtProject:DbtProject my_imported_fivetran_dbt_project {Dbt Project ID}
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* 4. Use the `terraform state show` command to get the values from the state:
|
|
47
|
-
*
|
|
48
|
-
* terraform state show 'fivetran_dbt_project.my_imported_fivetran_dbt_project'
|
|
49
|
-
*
|
|
50
|
-
* 5. Copy the values and paste them to your `.tf` configuration.
|
|
51
|
-
*/
|
|
52
|
-
export declare class DbtProject extends pulumi.CustomResource {
|
|
53
|
-
/**
|
|
54
|
-
* Get an existing DbtProject resource's state with the given name, ID, and optional extra
|
|
55
|
-
* properties used to qualify the lookup.
|
|
56
|
-
*
|
|
57
|
-
* @param name The _unique_ name of the resulting resource.
|
|
58
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
-
* @param state Any extra arguments used during the lookup.
|
|
60
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
-
*/
|
|
62
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DbtProjectState, opts?: pulumi.CustomResourceOptions): DbtProject;
|
|
63
|
-
/**
|
|
64
|
-
* Returns true if the given object is an instance of DbtProject. This is designed to work even
|
|
65
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
-
*/
|
|
67
|
-
static isInstance(obj: any): obj is DbtProject;
|
|
68
|
-
/**
|
|
69
|
-
* The timestamp of the dbt Project creation.
|
|
70
|
-
*/
|
|
71
|
-
readonly createdAt: pulumi.Output<string>;
|
|
72
|
-
/**
|
|
73
|
-
* The unique identifier for the User within the Fivetran system who created the dbt Project.
|
|
74
|
-
*/
|
|
75
|
-
readonly createdById: pulumi.Output<string>;
|
|
76
|
-
/**
|
|
77
|
-
* The version of dbt that should run the project. We support the following versions: 0.18.0 - 0.18.2, 0.19.0 - 0.19.2, 0.20.0 - 0.20.2, 0.21.0 - 0.21.1, 1.0.0, 1.0.1, 1.0.3 - 1.0.9, 1.1.0 - 1.1.3, 1.2.0 - 1.2.4, 1.3.0 - 1.3.2, 1.4.1.
|
|
78
|
-
*/
|
|
79
|
-
readonly dbtVersion: pulumi.Output<string>;
|
|
80
|
-
/**
|
|
81
|
-
* Default schema in destination. This production schema will contain your transformed data.
|
|
82
|
-
*/
|
|
83
|
-
readonly defaultSchema: pulumi.Output<string>;
|
|
84
|
-
/**
|
|
85
|
-
* Should resource wait for project to finish initialization. Default value: true.
|
|
86
|
-
*
|
|
87
|
-
* @deprecated Deprecated attribute. Please migrate to the resource fivetran_dbt_git_project_config
|
|
88
|
-
*/
|
|
89
|
-
readonly ensureReadiness: pulumi.Output<boolean>;
|
|
90
|
-
/**
|
|
91
|
-
* List of environment variables defined as key-value pairs in the raw string format using = as a separator. The variable name should have the DBT_ prefix and can contain A-Z, 0-9, dash, underscore, or dot characters. Example: "DBT*VARIABLE=variable*value"
|
|
92
|
-
*/
|
|
93
|
-
readonly environmentVars: pulumi.Output<string[] | undefined>;
|
|
94
|
-
/**
|
|
95
|
-
* The unique identifier for the group within the Fivetran system.
|
|
96
|
-
*/
|
|
97
|
-
readonly groupId: pulumi.Output<string>;
|
|
98
|
-
readonly models: pulumi.Output<outputs.DbtProjectModel[]>;
|
|
99
|
-
/**
|
|
100
|
-
* @deprecated Deprecated block. The projectConfig block of the resource fivetran.DbtProject is deprecated and will be removed. Please migrate to the resource fivetran_dbt_git_project_config
|
|
101
|
-
*/
|
|
102
|
-
readonly projectConfig: pulumi.Output<outputs.DbtProjectProjectConfig | undefined>;
|
|
103
|
-
/**
|
|
104
|
-
* Public key to grant Fivetran SSH access to git repository.
|
|
105
|
-
*/
|
|
106
|
-
readonly publicKey: pulumi.Output<string>;
|
|
107
|
-
/**
|
|
108
|
-
* Status of dbt Project (NOT_READY, READY, ERROR).
|
|
109
|
-
*/
|
|
110
|
-
readonly status: pulumi.Output<string>;
|
|
111
|
-
/**
|
|
112
|
-
* Target name to set or override the value from the deployment.yaml
|
|
113
|
-
*/
|
|
114
|
-
readonly targetName: pulumi.Output<string | undefined>;
|
|
115
|
-
/**
|
|
116
|
-
* The number of threads dbt will use (from 1 to 32). Make sure this value is compatible with your destination type. For example, Snowflake supports only 8 concurrent queries on an X-Small warehouse.
|
|
117
|
-
*/
|
|
118
|
-
readonly threads: pulumi.Output<number>;
|
|
119
|
-
readonly timeouts: pulumi.Output<outputs.DbtProjectTimeouts | undefined>;
|
|
120
|
-
/**
|
|
121
|
-
* Type of dbt Project. Currently only `GIT` supported. Empty value will be considered as default (GIT).
|
|
122
|
-
*/
|
|
123
|
-
readonly type: pulumi.Output<string | undefined>;
|
|
124
|
-
/**
|
|
125
|
-
* Create a DbtProject resource with the given unique name, arguments, and options.
|
|
126
|
-
*
|
|
127
|
-
* @param name The _unique_ name of the resource.
|
|
128
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
129
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
130
|
-
*/
|
|
131
|
-
constructor(name: string, args: DbtProjectArgs, opts?: pulumi.CustomResourceOptions);
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Input properties used for looking up and filtering DbtProject resources.
|
|
135
|
-
*/
|
|
136
|
-
export interface DbtProjectState {
|
|
137
|
-
/**
|
|
138
|
-
* The timestamp of the dbt Project creation.
|
|
139
|
-
*/
|
|
140
|
-
createdAt?: pulumi.Input<string>;
|
|
141
|
-
/**
|
|
142
|
-
* The unique identifier for the User within the Fivetran system who created the dbt Project.
|
|
143
|
-
*/
|
|
144
|
-
createdById?: pulumi.Input<string>;
|
|
145
|
-
/**
|
|
146
|
-
* The version of dbt that should run the project. We support the following versions: 0.18.0 - 0.18.2, 0.19.0 - 0.19.2, 0.20.0 - 0.20.2, 0.21.0 - 0.21.1, 1.0.0, 1.0.1, 1.0.3 - 1.0.9, 1.1.0 - 1.1.3, 1.2.0 - 1.2.4, 1.3.0 - 1.3.2, 1.4.1.
|
|
147
|
-
*/
|
|
148
|
-
dbtVersion?: pulumi.Input<string>;
|
|
149
|
-
/**
|
|
150
|
-
* Default schema in destination. This production schema will contain your transformed data.
|
|
151
|
-
*/
|
|
152
|
-
defaultSchema?: pulumi.Input<string>;
|
|
153
|
-
/**
|
|
154
|
-
* Should resource wait for project to finish initialization. Default value: true.
|
|
155
|
-
*
|
|
156
|
-
* @deprecated Deprecated attribute. Please migrate to the resource fivetran_dbt_git_project_config
|
|
157
|
-
*/
|
|
158
|
-
ensureReadiness?: pulumi.Input<boolean>;
|
|
159
|
-
/**
|
|
160
|
-
* List of environment variables defined as key-value pairs in the raw string format using = as a separator. The variable name should have the DBT_ prefix and can contain A-Z, 0-9, dash, underscore, or dot characters. Example: "DBT*VARIABLE=variable*value"
|
|
161
|
-
*/
|
|
162
|
-
environmentVars?: pulumi.Input<pulumi.Input<string>[]>;
|
|
163
|
-
/**
|
|
164
|
-
* The unique identifier for the group within the Fivetran system.
|
|
165
|
-
*/
|
|
166
|
-
groupId?: pulumi.Input<string>;
|
|
167
|
-
models?: pulumi.Input<pulumi.Input<inputs.DbtProjectModel>[]>;
|
|
168
|
-
/**
|
|
169
|
-
* @deprecated Deprecated block. The projectConfig block of the resource fivetran.DbtProject is deprecated and will be removed. Please migrate to the resource fivetran_dbt_git_project_config
|
|
170
|
-
*/
|
|
171
|
-
projectConfig?: pulumi.Input<inputs.DbtProjectProjectConfig>;
|
|
172
|
-
/**
|
|
173
|
-
* Public key to grant Fivetran SSH access to git repository.
|
|
174
|
-
*/
|
|
175
|
-
publicKey?: pulumi.Input<string>;
|
|
176
|
-
/**
|
|
177
|
-
* Status of dbt Project (NOT_READY, READY, ERROR).
|
|
178
|
-
*/
|
|
179
|
-
status?: pulumi.Input<string>;
|
|
180
|
-
/**
|
|
181
|
-
* Target name to set or override the value from the deployment.yaml
|
|
182
|
-
*/
|
|
183
|
-
targetName?: pulumi.Input<string>;
|
|
184
|
-
/**
|
|
185
|
-
* The number of threads dbt will use (from 1 to 32). Make sure this value is compatible with your destination type. For example, Snowflake supports only 8 concurrent queries on an X-Small warehouse.
|
|
186
|
-
*/
|
|
187
|
-
threads?: pulumi.Input<number>;
|
|
188
|
-
timeouts?: pulumi.Input<inputs.DbtProjectTimeouts>;
|
|
189
|
-
/**
|
|
190
|
-
* Type of dbt Project. Currently only `GIT` supported. Empty value will be considered as default (GIT).
|
|
191
|
-
*/
|
|
192
|
-
type?: pulumi.Input<string>;
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* The set of arguments for constructing a DbtProject resource.
|
|
196
|
-
*/
|
|
197
|
-
export interface DbtProjectArgs {
|
|
198
|
-
/**
|
|
199
|
-
* The version of dbt that should run the project. We support the following versions: 0.18.0 - 0.18.2, 0.19.0 - 0.19.2, 0.20.0 - 0.20.2, 0.21.0 - 0.21.1, 1.0.0, 1.0.1, 1.0.3 - 1.0.9, 1.1.0 - 1.1.3, 1.2.0 - 1.2.4, 1.3.0 - 1.3.2, 1.4.1.
|
|
200
|
-
*/
|
|
201
|
-
dbtVersion: pulumi.Input<string>;
|
|
202
|
-
/**
|
|
203
|
-
* Default schema in destination. This production schema will contain your transformed data.
|
|
204
|
-
*/
|
|
205
|
-
defaultSchema: pulumi.Input<string>;
|
|
206
|
-
/**
|
|
207
|
-
* Should resource wait for project to finish initialization. Default value: true.
|
|
208
|
-
*
|
|
209
|
-
* @deprecated Deprecated attribute. Please migrate to the resource fivetran_dbt_git_project_config
|
|
210
|
-
*/
|
|
211
|
-
ensureReadiness?: pulumi.Input<boolean>;
|
|
212
|
-
/**
|
|
213
|
-
* List of environment variables defined as key-value pairs in the raw string format using = as a separator. The variable name should have the DBT_ prefix and can contain A-Z, 0-9, dash, underscore, or dot characters. Example: "DBT*VARIABLE=variable*value"
|
|
214
|
-
*/
|
|
215
|
-
environmentVars?: pulumi.Input<pulumi.Input<string>[]>;
|
|
216
|
-
/**
|
|
217
|
-
* The unique identifier for the group within the Fivetran system.
|
|
218
|
-
*/
|
|
219
|
-
groupId: pulumi.Input<string>;
|
|
220
|
-
/**
|
|
221
|
-
* @deprecated Deprecated block. The projectConfig block of the resource fivetran.DbtProject is deprecated and will be removed. Please migrate to the resource fivetran_dbt_git_project_config
|
|
222
|
-
*/
|
|
223
|
-
projectConfig?: pulumi.Input<inputs.DbtProjectProjectConfig>;
|
|
224
|
-
/**
|
|
225
|
-
* Target name to set or override the value from the deployment.yaml
|
|
226
|
-
*/
|
|
227
|
-
targetName?: pulumi.Input<string>;
|
|
228
|
-
/**
|
|
229
|
-
* The number of threads dbt will use (from 1 to 32). Make sure this value is compatible with your destination type. For example, Snowflake supports only 8 concurrent queries on an X-Small warehouse.
|
|
230
|
-
*/
|
|
231
|
-
threads?: pulumi.Input<number>;
|
|
232
|
-
timeouts?: pulumi.Input<inputs.DbtProjectTimeouts>;
|
|
233
|
-
/**
|
|
234
|
-
* Type of dbt Project. Currently only `GIT` supported. Empty value will be considered as default (GIT).
|
|
235
|
-
*/
|
|
236
|
-
type?: pulumi.Input<string>;
|
|
237
|
-
}
|