@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/connectorSchemaConfig.js
CHANGED
|
@@ -1,11 +1,221 @@
|
|
|
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.ConnectorSchemaConfig = 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
|
/**
|
|
32
|
+
* ## page_title: "Resource: fivetran.ConnectorSchemaConfig"
|
|
33
|
+
*
|
|
34
|
+
* ***
|
|
35
|
+
*
|
|
36
|
+
* # Resource: fivetran.ConnectorSchemaConfig
|
|
37
|
+
*
|
|
38
|
+
* This resource allows you to manage the Standard Configuration settings of a connector:
|
|
39
|
+
* - Define the schema change handling settings
|
|
40
|
+
* - Enable and disable schemas, tables, and columns
|
|
41
|
+
*
|
|
42
|
+
* The resource is in **ALPHA** state. The resource schema and behavior are subject to change without prior notice.
|
|
43
|
+
*
|
|
44
|
+
* Known issues:
|
|
45
|
+
* - Definition of `syncMode` for table may cause infinite drifting changes in plan.
|
|
46
|
+
* - Using `schema` field causes very slow plan preparation because of slow performance for SetTypable fields in terraform-framework, please use MapTypable `schemas` field instead.
|
|
47
|
+
*
|
|
48
|
+
* ## Usage guide
|
|
49
|
+
*
|
|
50
|
+
* Note that all configuration settings are aligned to the `schemaChangeHandling` settings, except the settings explicitly specified in `schemas`.
|
|
51
|
+
* In `schemas`, you only override the default settings defined by the chosen `schemaChangeHandling` option.
|
|
52
|
+
* The allowed `schemaChangeHandling` options are as follows:
|
|
53
|
+
* - `ALLOW_ALL`- all schemas, tables and columns are ENABLED by default. You only need to explicitly specify DISABLED items or hashed tables
|
|
54
|
+
* - `BLOCK_ALL` - all schemas, tables and columns are DISABLED by default, the configuration only specifies ENABLED items
|
|
55
|
+
* - `ALLOW_COLUMNS` - all schemas and tables are DISABLED by default, but all columns are ENABLED by default, the configuration specifies ENABLED schemas and tables, and DISABLED columns
|
|
56
|
+
*
|
|
57
|
+
* Note that system-enabled tables and columns (such as primary and foreign key columns, and [system tables and columns](https://fivetran.com/docs/getting-started/system-columns-and-tables)) are synced regardless of the `schemaChangeHandling` settings and configuration. You can only disable non-locked columns in the system-enabled tables. If the configuration specifies any system tables or locked system table columns as disabled ( `enabled = "false"`), the provider just ignores these statements.
|
|
58
|
+
*
|
|
59
|
+
* ## Usage examples
|
|
60
|
+
*
|
|
61
|
+
* ### Example for the ALLOW_ALL option
|
|
62
|
+
*
|
|
63
|
+
* In `schemas`, you only need to specify schemas and tables you want to disable (`enabled = "false"`) and columns you want to disable or hash (`hashed = "true"`).
|
|
64
|
+
*
|
|
65
|
+
* ```typescript
|
|
66
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
67
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
68
|
+
*
|
|
69
|
+
* const schema = new fivetran.ConnectorSchemaConfig("schema", {
|
|
70
|
+
* connectorId: "connector_id",
|
|
71
|
+
* schemaChangeHandling: "ALLOW_ALL",
|
|
72
|
+
* schemas: {
|
|
73
|
+
* schema_name: {
|
|
74
|
+
* tables: {
|
|
75
|
+
* table_name: {
|
|
76
|
+
* columns: {
|
|
77
|
+
* hashed_column_name: {
|
|
78
|
+
* hashed: true,
|
|
79
|
+
* },
|
|
80
|
+
* blocked_column_name: {
|
|
81
|
+
* enabled: false,
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
85
|
+
* blocked_table_name: {
|
|
86
|
+
* enabled: false,
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* blocked_schema: {
|
|
91
|
+
* enabled: false,
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* });
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* The configuration resulting from the example request is as follows:
|
|
98
|
+
* - All new and existing schemas except `blockedSchema` are enabled
|
|
99
|
+
* - All new and existing tables in the `schemaName` schema except the `blockedTableName` table are enabled
|
|
100
|
+
* - All new and existing columns in the`tableName` of the `schemaName` schema except the `blockedColumnName` column are enabled
|
|
101
|
+
* - The `hashedColumnName` column is hashed in the `tableName` table in the `schemaName` schema
|
|
102
|
+
* - All new schemas, tables, and columns are enabled once captured by the connector during the sync except those disabled by the system
|
|
103
|
+
*
|
|
104
|
+
* ### Example for the BLOCK_ALL option
|
|
105
|
+
*
|
|
106
|
+
* ```typescript
|
|
107
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
108
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
109
|
+
*
|
|
110
|
+
* const schema = new fivetran.ConnectorSchemaConfig("schema", {
|
|
111
|
+
* connectorId: "connector_id",
|
|
112
|
+
* schemaChangeHandling: "BLOCK_ALL",
|
|
113
|
+
* schemas: {
|
|
114
|
+
* schema_name: {
|
|
115
|
+
* tables: {
|
|
116
|
+
* table_name: {
|
|
117
|
+
* columns: {
|
|
118
|
+
* hashed_column_name: {
|
|
119
|
+
* hashed: true,
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* },
|
|
123
|
+
* enabled_table_name: {
|
|
124
|
+
* enabled: true,
|
|
125
|
+
* },
|
|
126
|
+
* },
|
|
127
|
+
* },
|
|
128
|
+
* enabled_schema: {
|
|
129
|
+
* enabled: true,
|
|
130
|
+
* },
|
|
131
|
+
* },
|
|
132
|
+
* });
|
|
133
|
+
* ```
|
|
134
|
+
*
|
|
135
|
+
* The configuration resulting from the example request is as follows:
|
|
136
|
+
*
|
|
137
|
+
* - All new and existing schemas except the `enabledSchema` and `schemaName` are disabled
|
|
138
|
+
* - Only system-enabled tables and columns are enabled in the `enabledSchema` schema
|
|
139
|
+
* - All new and existing tables in the `schemaName` schema except the `enabledTableName`, `tableName` tables and system tables are disabled
|
|
140
|
+
* - All new and existing columns in the `tableName` table of the `schemaName` schema are disabled except the `hashedColumnName` column and system columns
|
|
141
|
+
* - The `hashedColumnName` column in the `tableName` table the `schemaName` schema is hashed
|
|
142
|
+
* - All new columns except the system-enabled columns, all schemas and tables are disabled once captured by the connector during the sync
|
|
143
|
+
*
|
|
144
|
+
* ### Example for the ALLOW_COLUMNS option
|
|
145
|
+
*
|
|
146
|
+
* In `schemas`, you only need to specify schemas and tables you want to enable `enabled = "true"`) and columns you want to disable (`enabled = "false"`) or hash (`hashed = "true"`).
|
|
147
|
+
*
|
|
148
|
+
* ```typescript
|
|
149
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
150
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
151
|
+
*
|
|
152
|
+
* const schema = new fivetran.ConnectorSchemaConfig("schema", {
|
|
153
|
+
* connectorId: "connector_id",
|
|
154
|
+
* schemaChangeHandling: "ALLOW_COLUMNS",
|
|
155
|
+
* schemas: {
|
|
156
|
+
* schema_name: {
|
|
157
|
+
* tables: {
|
|
158
|
+
* table_name: {
|
|
159
|
+
* columns: {
|
|
160
|
+
* hashed_column_name: {
|
|
161
|
+
* hashed: true,
|
|
162
|
+
* },
|
|
163
|
+
* disabled_column_name: {
|
|
164
|
+
* enabled: false,
|
|
165
|
+
* },
|
|
166
|
+
* },
|
|
167
|
+
* },
|
|
168
|
+
* enabled_table: {
|
|
169
|
+
* enabled: true,
|
|
170
|
+
* },
|
|
171
|
+
* },
|
|
172
|
+
* },
|
|
173
|
+
* enabled_schema_name: {
|
|
174
|
+
* enabled: true,
|
|
175
|
+
* },
|
|
176
|
+
* },
|
|
177
|
+
* });
|
|
178
|
+
* ```
|
|
179
|
+
*
|
|
180
|
+
* The configuration resulting from the example request is as follows:
|
|
181
|
+
*
|
|
182
|
+
* - All specified existing schemas and tables are enabled and all columns inside them are enabled by default, unless `enabled = "false"` is specified for the column
|
|
183
|
+
* - All new and existing schemas except the `enabledSchemaName` and `schemaName` are disabled
|
|
184
|
+
* - Only system-enabled tables and columns would be enabled in the`enabledSchemaName` schema
|
|
185
|
+
* - All new and existing tables in the `schemaName` schema except the `enabledTableName`, `tableName` and system-enabled tables are disabled
|
|
186
|
+
* - All new and existing columns in the`tableName` table of the `schemaName` schema except the `disabledColumnsName` and system-enabled columns are enabled
|
|
187
|
+
* - The `hashedColumnName` would be hashed in table `tableName` in schema `schemaName`
|
|
188
|
+
* - All new non system-enabled tables/schemas would be disabled once captured by connector on sync
|
|
189
|
+
* - All new non system-enabled columns inside enabled tables (including system enabled-tables) would be enabled once captured by connector on sync
|
|
190
|
+
*
|
|
191
|
+
* <a id="nestedblock--nonlocked"></a>
|
|
192
|
+
* ### Non-locked table column management in system-enabled tables
|
|
193
|
+
*
|
|
194
|
+
* You cannot manage system-enabled tables, but you can manage its non-locked columns. For example, your schema `schemaName` has a system-enabled table `systemEnabledTable` that can't be disabled, and you want to disable one of its columns named `columnName`:
|
|
195
|
+
*
|
|
196
|
+
* ```typescript
|
|
197
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
198
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
199
|
+
*
|
|
200
|
+
* const schema = new fivetran.ConnectorSchemaConfig("schema", {
|
|
201
|
+
* connectorId: "connector_id",
|
|
202
|
+
* schemaChangeHandling: "ALLOW_COLUMNS",
|
|
203
|
+
* schemas: {
|
|
204
|
+
* schema_name: {
|
|
205
|
+
* tables: {
|
|
206
|
+
* system_enabled_table: {
|
|
207
|
+
* columns: {
|
|
208
|
+
* column_name: {
|
|
209
|
+
* enabled: false,
|
|
210
|
+
* },
|
|
211
|
+
* },
|
|
212
|
+
* },
|
|
213
|
+
* },
|
|
214
|
+
* },
|
|
215
|
+
* },
|
|
216
|
+
* });
|
|
217
|
+
* ```
|
|
218
|
+
*
|
|
9
219
|
* ## Import
|
|
10
220
|
*
|
|
11
221
|
* You don't need to import this resource as it is synthetic (doesn't create new instances in upstream).
|
|
@@ -21,8 +231,10 @@ class ConnectorSchemaConfig extends pulumi.CustomResource {
|
|
|
21
231
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
232
|
*/
|
|
23
233
|
static get(name, id, state, opts) {
|
|
24
|
-
return new ConnectorSchemaConfig(name, state,
|
|
234
|
+
return new ConnectorSchemaConfig(name, state, { ...opts, id: id });
|
|
25
235
|
}
|
|
236
|
+
/** @internal */
|
|
237
|
+
static __pulumiType = 'fivetran:index/connectorSchemaConfig:ConnectorSchemaConfig';
|
|
26
238
|
/**
|
|
27
239
|
* Returns true if the given object is an instance of ConnectorSchemaConfig. This is designed to work even
|
|
28
240
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -38,32 +250,30 @@ class ConnectorSchemaConfig extends pulumi.CustomResource {
|
|
|
38
250
|
opts = opts || {};
|
|
39
251
|
if (opts.id) {
|
|
40
252
|
const state = argsOrState;
|
|
41
|
-
resourceInputs["connectorId"] = state
|
|
42
|
-
resourceInputs["schema"] = state
|
|
43
|
-
resourceInputs["schemaChangeHandling"] = state
|
|
44
|
-
resourceInputs["schemas"] = state
|
|
45
|
-
resourceInputs["schemasJson"] = state
|
|
46
|
-
resourceInputs["timeouts"] = state
|
|
47
|
-
resourceInputs["validationLevel"] = state
|
|
253
|
+
resourceInputs["connectorId"] = state?.connectorId;
|
|
254
|
+
resourceInputs["schema"] = state?.schema;
|
|
255
|
+
resourceInputs["schemaChangeHandling"] = state?.schemaChangeHandling;
|
|
256
|
+
resourceInputs["schemas"] = state?.schemas;
|
|
257
|
+
resourceInputs["schemasJson"] = state?.schemasJson;
|
|
258
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
259
|
+
resourceInputs["validationLevel"] = state?.validationLevel;
|
|
48
260
|
}
|
|
49
261
|
else {
|
|
50
262
|
const args = argsOrState;
|
|
51
|
-
if (
|
|
263
|
+
if (args?.connectorId === undefined && !opts.urn) {
|
|
52
264
|
throw new Error("Missing required property 'connectorId'");
|
|
53
265
|
}
|
|
54
|
-
resourceInputs["connectorId"] = args
|
|
55
|
-
resourceInputs["schema"] = args
|
|
56
|
-
resourceInputs["schemaChangeHandling"] = args
|
|
57
|
-
resourceInputs["schemas"] = args
|
|
58
|
-
resourceInputs["schemasJson"] = args
|
|
59
|
-
resourceInputs["timeouts"] = args
|
|
60
|
-
resourceInputs["validationLevel"] = args
|
|
266
|
+
resourceInputs["connectorId"] = args?.connectorId;
|
|
267
|
+
resourceInputs["schema"] = args?.schema;
|
|
268
|
+
resourceInputs["schemaChangeHandling"] = args?.schemaChangeHandling;
|
|
269
|
+
resourceInputs["schemas"] = args?.schemas;
|
|
270
|
+
resourceInputs["schemasJson"] = args?.schemasJson;
|
|
271
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
272
|
+
resourceInputs["validationLevel"] = args?.validationLevel;
|
|
61
273
|
}
|
|
62
274
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
63
275
|
super(ConnectorSchemaConfig.__pulumiType, name, resourceInputs, opts);
|
|
64
276
|
}
|
|
65
277
|
}
|
|
66
278
|
exports.ConnectorSchemaConfig = ConnectorSchemaConfig;
|
|
67
|
-
/** @internal */
|
|
68
|
-
ConnectorSchemaConfig.__pulumiType = 'fivetran:index/connectorSchemaConfig:ConnectorSchemaConfig';
|
|
69
279
|
//# sourceMappingURL=connectorSchemaConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorSchemaConfig.js","sourceRoot":"","sources":["../connectorSchemaConfig.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"connectorSchemaConfig.js","sourceRoot":"","sources":["../connectorSchemaConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+LG;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,CAA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,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;SAC7D;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;;AA5FL,sDA6FC"}
|
package/destination.d.ts
CHANGED
|
@@ -2,33 +2,73 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* This resource allows you to create, update, and delete destinations.
|
|
6
|
+
*
|
|
7
|
+
* IMPORTANT: Groups and destinations are mapped 1:1 to each other. We do this mapping using the group's id value that we automatically generate when you create a group using our REST API, and the destination's groupId value that you specify when you create a destination using our REST API. This means that if you use our REST API to create a destination, you must create a group in your Fivetran account before you can create a destination in it.
|
|
8
|
+
*
|
|
9
|
+
* When you create a destination in your Fivetran dashboard, we automatically create a group and assign a value to its id and a destination with the same groupId value, which is unique in your Fivetran account. The group's name corresponds to the Destination name you specify in your Fivetran dashboard when creating the destination in your Fivetran dashboard.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
6
12
|
*
|
|
7
|
-
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
8
16
|
*
|
|
9
|
-
*
|
|
17
|
+
* const dest = new fivetran.Destination("dest", {
|
|
18
|
+
* groupId: group.id,
|
|
19
|
+
* service: "postgres_rds_warehouse",
|
|
20
|
+
* timeZoneOffset: "0",
|
|
21
|
+
* region: "GCP_US_EAST4",
|
|
22
|
+
* trustCertificates: true,
|
|
23
|
+
* trustFingerprints: true,
|
|
24
|
+
* daylightSavingTimeEnabled: true,
|
|
25
|
+
* runSetupTests: true,
|
|
26
|
+
* config: {
|
|
27
|
+
* host: "destination.fqdn",
|
|
28
|
+
* port: 5432,
|
|
29
|
+
* user: "postgres",
|
|
30
|
+
* password: "myPass",
|
|
31
|
+
* database: "fivetran",
|
|
32
|
+
* connectionType: "Directly",
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Setup tests
|
|
10
38
|
*
|
|
11
|
-
*
|
|
39
|
+
* The `runSetupTests` field doesn't have upstream value, it only defines local resource behavoir. This means that when you update only the `runSetupTests` value (from `false` to `true`, for example) it won't cause any upstream actions. The value will be just saved in terraform state and then used on effective field updates.
|
|
12
40
|
*
|
|
13
|
-
*
|
|
41
|
+
* The default value is `false` - this means that no setup tests will be performed during create/update. To perform setup tests, you should set value to `true`.
|
|
42
|
+
*
|
|
43
|
+
* ## Import
|
|
14
44
|
*
|
|
15
|
-
* resource
|
|
45
|
+
* 1. To import an existing `fivetran.Destination` resource into your Terraform state, you need to get **Destination Group ID** on the destination page in your Fivetran dashboard.
|
|
16
46
|
*
|
|
17
|
-
*
|
|
47
|
+
* 2. To retrieve existing destinations, use the [fivetran.getDestinations data source](https://www.terraform.io/docs/data-sources/destinations).
|
|
18
48
|
*
|
|
19
|
-
* 3.
|
|
49
|
+
* 3. Define an empty resource in your `.tf` configuration:
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
54
|
+
*
|
|
55
|
+
* const myImportedDestination = new fivetran.Destination("my_imported_destination", {});
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* 4. Run the `pulumi import` command with the following parameters:
|
|
20
59
|
*
|
|
21
60
|
* ```sh
|
|
22
|
-
*
|
|
61
|
+
* terraform import fivetran_destination.my_imported_destination {your Destination Group ID}
|
|
23
62
|
* ```
|
|
24
63
|
*
|
|
25
|
-
*
|
|
64
|
+
* 5. Use the `terraform state show` command to get the values from the state:
|
|
26
65
|
*
|
|
66
|
+
* ```sh
|
|
27
67
|
* terraform state show 'fivetran_destination.my_imported_destination'
|
|
68
|
+
* ```
|
|
69
|
+
* 6. Copy the values and paste them to your `.tf` configuration.
|
|
28
70
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* -> The `config` object in the state contains all properties defined in the schema. You need to remove properties from the `config` that are not related to destinations. See the [Fivetran REST API documentation](https://fivetran.com/docs/rest-api/destinations/config) for reference to find the properties you need to keep in the `config` section.
|
|
71
|
+
* > The `config` object in the state contains all properties defined in the schema. You need to remove properties from the `config` that are not related to destinations. See the [Fivetran REST API documentation](https://fivetran.com/docs/rest-api/destinations/config) for reference to find the properties you need to keep in the `config` section.
|
|
32
72
|
*/
|
|
33
73
|
export declare class Destination extends pulumi.CustomResource {
|
|
34
74
|
/**
|
|
@@ -56,8 +96,7 @@ export declare class Destination extends pulumi.CustomResource {
|
|
|
56
96
|
*/
|
|
57
97
|
readonly groupId: pulumi.Output<string>;
|
|
58
98
|
/**
|
|
59
|
-
* The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the
|
|
60
|
-
* value is specified, the system will try to associate the connection with an existing agent.
|
|
99
|
+
* The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
|
|
61
100
|
*/
|
|
62
101
|
readonly hybridDeploymentAgentId: pulumi.Output<string | undefined>;
|
|
63
102
|
/**
|
|
@@ -90,15 +129,11 @@ export declare class Destination extends pulumi.CustomResource {
|
|
|
90
129
|
readonly timeZoneOffset: pulumi.Output<string>;
|
|
91
130
|
readonly timeouts: pulumi.Output<outputs.DestinationTimeouts | undefined>;
|
|
92
131
|
/**
|
|
93
|
-
* Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not
|
|
94
|
-
* trusted automatically, it has to be approved with [Certificates Management API Approve a destination
|
|
95
|
-
* certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
|
|
132
|
+
* Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
|
|
96
133
|
*/
|
|
97
134
|
readonly trustCertificates: pulumi.Output<boolean>;
|
|
98
135
|
/**
|
|
99
|
-
* Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not
|
|
100
|
-
* trusted automatically, it has to be approved with [Certificates Management API Approve a destination
|
|
101
|
-
* fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
|
|
136
|
+
* Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
|
|
102
137
|
*/
|
|
103
138
|
readonly trustFingerprints: pulumi.Output<boolean>;
|
|
104
139
|
/**
|
|
@@ -124,8 +159,7 @@ export interface DestinationState {
|
|
|
124
159
|
*/
|
|
125
160
|
groupId?: pulumi.Input<string>;
|
|
126
161
|
/**
|
|
127
|
-
* The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the
|
|
128
|
-
* value is specified, the system will try to associate the connection with an existing agent.
|
|
162
|
+
* The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
|
|
129
163
|
*/
|
|
130
164
|
hybridDeploymentAgentId?: pulumi.Input<string>;
|
|
131
165
|
/**
|
|
@@ -158,15 +192,11 @@ export interface DestinationState {
|
|
|
158
192
|
timeZoneOffset?: pulumi.Input<string>;
|
|
159
193
|
timeouts?: pulumi.Input<inputs.DestinationTimeouts>;
|
|
160
194
|
/**
|
|
161
|
-
* Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not
|
|
162
|
-
* trusted automatically, it has to be approved with [Certificates Management API Approve a destination
|
|
163
|
-
* certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
|
|
195
|
+
* Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
|
|
164
196
|
*/
|
|
165
197
|
trustCertificates?: pulumi.Input<boolean>;
|
|
166
198
|
/**
|
|
167
|
-
* Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not
|
|
168
|
-
* trusted automatically, it has to be approved with [Certificates Management API Approve a destination
|
|
169
|
-
* fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
|
|
199
|
+
* Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
|
|
170
200
|
*/
|
|
171
201
|
trustFingerprints?: pulumi.Input<boolean>;
|
|
172
202
|
}
|
|
@@ -184,8 +214,7 @@ export interface DestinationArgs {
|
|
|
184
214
|
*/
|
|
185
215
|
groupId: pulumi.Input<string>;
|
|
186
216
|
/**
|
|
187
|
-
* The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the
|
|
188
|
-
* value is specified, the system will try to associate the connection with an existing agent.
|
|
217
|
+
* The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
|
|
189
218
|
*/
|
|
190
219
|
hybridDeploymentAgentId?: pulumi.Input<string>;
|
|
191
220
|
/**
|
|
@@ -214,15 +243,12 @@ export interface DestinationArgs {
|
|
|
214
243
|
timeZoneOffset: pulumi.Input<string>;
|
|
215
244
|
timeouts?: pulumi.Input<inputs.DestinationTimeouts>;
|
|
216
245
|
/**
|
|
217
|
-
* Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not
|
|
218
|
-
* trusted automatically, it has to be approved with [Certificates Management API Approve a destination
|
|
219
|
-
* certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
|
|
246
|
+
* Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
|
|
220
247
|
*/
|
|
221
248
|
trustCertificates?: pulumi.Input<boolean>;
|
|
222
249
|
/**
|
|
223
|
-
* Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not
|
|
224
|
-
* trusted automatically, it has to be approved with [Certificates Management API Approve a destination
|
|
225
|
-
* fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
|
|
250
|
+
* Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
|
|
226
251
|
*/
|
|
227
252
|
trustFingerprints?: pulumi.Input<boolean>;
|
|
228
253
|
}
|
|
254
|
+
//# sourceMappingURL=destination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destination.d.ts","sourceRoot":"","sources":["../destination.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,gBAAgB,EAAE,IAAI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