@pulumi/dbtcloud 1.11.8 → 1.11.9
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/athenaCredential.d.ts +2 -2
- package/athenaCredential.js +2 -2
- package/bigQueryCredential.d.ts +3 -3
- package/bigQueryCredential.js +3 -3
- package/bigquerySemanticLayerCredential.d.ts +3 -3
- package/bigquerySemanticLayerCredential.js +3 -3
- package/clickhouseCredential.d.ts +2 -2
- package/clickhouseCredential.js +2 -2
- package/connectionCatalogConfig.d.ts +4 -4
- package/connectionCatalogConfig.js +4 -4
- package/databricksCredential.d.ts +2 -2
- package/databricksCredential.js +2 -2
- package/databricksPlatformMetadataCredential.d.ts +2 -2
- package/databricksPlatformMetadataCredential.js +2 -2
- package/databricksSemanticLayerCredential.d.ts +2 -2
- package/databricksSemanticLayerCredential.js +2 -2
- package/environment.d.ts +10 -10
- package/environment.js +10 -10
- package/environmentVariable.d.ts +1 -1
- package/environmentVariable.js +1 -1
- package/environmentVariableJobOverride.d.ts +2 -2
- package/environmentVariableJobOverride.js +2 -2
- package/extendedAttributes.d.ts +5 -5
- package/extendedAttributes.js +5 -5
- package/fabricCredential.d.ts +4 -4
- package/fabricCredential.js +4 -4
- package/getProject.d.ts +2 -2
- package/getProject.js +2 -2
- package/getSparkCredential.d.ts +2 -2
- package/getSparkCredential.js +2 -2
- package/getUsers.d.ts +2 -2
- package/getUsers.js +2 -2
- package/group.d.ts +1 -1
- package/group.js +1 -1
- package/groupPartialPermissions.d.ts +4 -4
- package/groupPartialPermissions.js +4 -4
- package/job.d.ts +3 -3
- package/job.js +3 -3
- package/lineageIntegration.d.ts +2 -2
- package/lineageIntegration.js +2 -2
- package/notification.d.ts +1 -1
- package/notification.js +1 -1
- package/notificationSetting.d.ts +2 -2
- package/notificationSetting.js +2 -2
- package/openaiIntegration.d.ts +2 -2
- package/openaiIntegration.js +2 -2
- package/package.json +2 -2
- package/postgresCredential.d.ts +2 -2
- package/postgresCredential.js +2 -2
- package/postgresSemanticLayerCredential.d.ts +2 -2
- package/postgresSemanticLayerCredential.js +2 -2
- package/profile.d.ts +7 -7
- package/profile.js +7 -7
- package/projectArtefacts.d.ts +3 -3
- package/projectArtefacts.js +3 -3
- package/projectRepository.d.ts +2 -2
- package/projectRepository.js +2 -2
- package/redshiftCredential.d.ts +2 -2
- package/redshiftCredential.js +2 -2
- package/redshiftSemanticLayerCredential.d.ts +3 -3
- package/redshiftSemanticLayerCredential.js +3 -3
- package/salesforceCredential.d.ts +2 -2
- package/salesforceCredential.js +2 -2
- package/scimConfigToken.d.ts +1 -1
- package/scimConfigToken.js +1 -1
- package/scimGroupPartialPermissions.d.ts +4 -4
- package/scimGroupPartialPermissions.js +4 -4
- package/semanticLayerConfiguration.d.ts +2 -2
- package/semanticLayerConfiguration.js +2 -2
- package/semanticLayerCredentialServiceTokenMapping.d.ts +3 -3
- package/semanticLayerCredentialServiceTokenMapping.js +3 -3
- package/serviceToken.d.ts +1 -1
- package/serviceToken.js +1 -1
- package/snowflakeCredential.d.ts +2 -2
- package/snowflakeCredential.js +2 -2
- package/snowflakePlatformMetadataCredential.d.ts +4 -4
- package/snowflakePlatformMetadataCredential.js +4 -4
- package/snowflakeSemanticLayerCredential.d.ts +4 -4
- package/snowflakeSemanticLayerCredential.js +4 -4
- package/sparkCredential.d.ts +2 -2
- package/sparkCredential.js +2 -2
- package/starburstCredential.d.ts +2 -2
- package/starburstCredential.js +2 -2
- package/synapseCredential.d.ts +5 -5
- package/synapseCredential.js +5 -5
- package/teradataCredential.d.ts +2 -2
- package/teradataCredential.js +2 -2
- package/userGroups.d.ts +1 -1
- package/userGroups.js +1 -1
package/salesforceCredential.js
CHANGED
|
@@ -39,7 +39,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
39
39
|
*
|
|
40
40
|
* // Using the classic sensitive attributes (stored in state)
|
|
41
41
|
* const mySalesforceCred = new dbtcloud.SalesforceCredential("my_salesforce_cred", {
|
|
42
|
-
* projectId:
|
|
42
|
+
* projectId: dbtProject.id,
|
|
43
43
|
* username: "user@example.com",
|
|
44
44
|
* clientId: "your-oauth-client-id",
|
|
45
45
|
* privateKey: "private-key value",
|
|
@@ -50,7 +50,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
50
50
|
* const salesforceClientId = config.require("salesforceClientId");
|
|
51
51
|
* const salesforcePrivateKey = config.require("salesforcePrivateKey");
|
|
52
52
|
* const mySalesforceCredWo = new dbtcloud.SalesforceCredential("my_salesforce_cred_wo", {
|
|
53
|
-
* projectId:
|
|
53
|
+
* projectId: dbtProject.id,
|
|
54
54
|
* username: "user@example.com",
|
|
55
55
|
* clientIdWo: salesforceClientId,
|
|
56
56
|
* clientIdWoVersion: 1,
|
package/scimConfigToken.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* // Create a SCIM token to allow an identity provider (e.g. Okta, Azure AD) to
|
|
16
16
|
* // provision and deprovision users and groups in dbt Cloud.
|
|
17
17
|
* //
|
|
18
|
-
* // The token value is returned only on creation and stored in
|
|
18
|
+
* // The token value is returned only on creation and stored in Pulumi state
|
|
19
19
|
* // as a sensitive value. It is never returned by subsequent API reads, so
|
|
20
20
|
* // changing the `name` forces a new token to be created.
|
|
21
21
|
* const okta = new dbtcloud.ScimConfigToken("okta", {name: "okta-scim"});
|
package/scimConfigToken.js
CHANGED
|
@@ -44,7 +44,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
44
44
|
* // Create a SCIM token to allow an identity provider (e.g. Okta, Azure AD) to
|
|
45
45
|
* // provision and deprovision users and groups in dbt Cloud.
|
|
46
46
|
* //
|
|
47
|
-
* // The token value is returned only on creation and stored in
|
|
47
|
+
* // The token value is returned only on creation and stored in Pulumi state
|
|
48
48
|
* // as a sensitive value. It is never returned by subsequent API reads, so
|
|
49
49
|
* // changing the `name` forces a new token to be created.
|
|
50
50
|
* const okta = new dbtcloud.ScimConfigToken("okta", {name: "okta-scim"});
|
|
@@ -62,7 +62,7 @@ import * as outputs from "./types/output";
|
|
|
62
62
|
* import * as pulumi from "@pulumi/pulumi";
|
|
63
63
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
64
64
|
*
|
|
65
|
-
* //
|
|
65
|
+
* // Pulumi State 1 (Platform Team)
|
|
66
66
|
* const platform = new dbtcloud.ScimGroupPartialPermissions("platform", {
|
|
67
67
|
* groupId: 12345,
|
|
68
68
|
* permissions: [{
|
|
@@ -72,7 +72,7 @@ import * as outputs from "./types/output";
|
|
|
72
72
|
* writableEnvironmentCategories: ["development"],
|
|
73
73
|
* }],
|
|
74
74
|
* });
|
|
75
|
-
* //
|
|
75
|
+
* // Pulumi State 2 (Another Team) - IDENTICAL permission!
|
|
76
76
|
* const otherTeam = new dbtcloud.ScimGroupPartialPermissions("other_team", {
|
|
77
77
|
* groupId: 12345,
|
|
78
78
|
* permissions: [{
|
|
@@ -90,7 +90,7 @@ import * as outputs from "./types/output";
|
|
|
90
90
|
* import * as pulumi from "@pulumi/pulumi";
|
|
91
91
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
92
92
|
*
|
|
93
|
-
* //
|
|
93
|
+
* // Pulumi State 1 (Platform Team) - Development environments
|
|
94
94
|
* const platformDev = new dbtcloud.ScimGroupPartialPermissions("platform_dev", {
|
|
95
95
|
* groupId: 12345,
|
|
96
96
|
* permissions: [{
|
|
@@ -100,7 +100,7 @@ import * as outputs from "./types/output";
|
|
|
100
100
|
* writableEnvironmentCategories: ["development"],
|
|
101
101
|
* }],
|
|
102
102
|
* });
|
|
103
|
-
* //
|
|
103
|
+
* // Pulumi State 2 (SRE Team) - Production environments
|
|
104
104
|
* const sreProd = new dbtcloud.ScimGroupPartialPermissions("sre_prod", {
|
|
105
105
|
* groupId: 12345,
|
|
106
106
|
* permissions: [{
|
|
@@ -89,7 +89,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
89
89
|
* import * as pulumi from "@pulumi/pulumi";
|
|
90
90
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
91
91
|
*
|
|
92
|
-
* //
|
|
92
|
+
* // Pulumi State 1 (Platform Team)
|
|
93
93
|
* const platform = new dbtcloud.ScimGroupPartialPermissions("platform", {
|
|
94
94
|
* groupId: 12345,
|
|
95
95
|
* permissions: [{
|
|
@@ -99,7 +99,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
99
99
|
* writableEnvironmentCategories: ["development"],
|
|
100
100
|
* }],
|
|
101
101
|
* });
|
|
102
|
-
* //
|
|
102
|
+
* // Pulumi State 2 (Another Team) - IDENTICAL permission!
|
|
103
103
|
* const otherTeam = new dbtcloud.ScimGroupPartialPermissions("other_team", {
|
|
104
104
|
* groupId: 12345,
|
|
105
105
|
* permissions: [{
|
|
@@ -117,7 +117,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
117
117
|
* import * as pulumi from "@pulumi/pulumi";
|
|
118
118
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
119
119
|
*
|
|
120
|
-
* //
|
|
120
|
+
* // Pulumi State 1 (Platform Team) - Development environments
|
|
121
121
|
* const platformDev = new dbtcloud.ScimGroupPartialPermissions("platform_dev", {
|
|
122
122
|
* groupId: 12345,
|
|
123
123
|
* permissions: [{
|
|
@@ -127,7 +127,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
127
127
|
* writableEnvironmentCategories: ["development"],
|
|
128
128
|
* }],
|
|
129
129
|
* });
|
|
130
|
-
* //
|
|
130
|
+
* // Pulumi State 2 (SRE Team) - Production environments
|
|
131
131
|
* const sreProd = new dbtcloud.ScimGroupPartialPermissions("sre_prod", {
|
|
132
132
|
* groupId: 12345,
|
|
133
133
|
* permissions: [{
|
|
@@ -10,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
11
11
|
*
|
|
12
12
|
* const example = new dbtcloud.SemanticLayerConfiguration("example", {
|
|
13
|
-
* projectId:
|
|
14
|
-
* environmentId:
|
|
13
|
+
* projectId: projectId,
|
|
14
|
+
* environmentId: environmentId,
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
*
|
|
@@ -39,8 +39,8 @@ const utilities = __importStar(require("./utilities"));
|
|
|
39
39
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
40
40
|
*
|
|
41
41
|
* const example = new dbtcloud.SemanticLayerConfiguration("example", {
|
|
42
|
-
* projectId:
|
|
43
|
-
* environmentId:
|
|
42
|
+
* projectId: projectId,
|
|
43
|
+
* environmentId: environmentId,
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
|
46
46
|
*
|
|
@@ -7,9 +7,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
8
8
|
*
|
|
9
9
|
* const testMapping = new dbtcloud.SemanticLayerCredentialServiceTokenMapping("test_mapping", {
|
|
10
|
-
* semanticLayerCredentialId:
|
|
11
|
-
* serviceTokenId:
|
|
12
|
-
* projectId:
|
|
10
|
+
* semanticLayerCredentialId: test.id,
|
|
11
|
+
* serviceTokenId: testServiceToken.id,
|
|
12
|
+
* projectId: testProject.id,
|
|
13
13
|
* });
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
@@ -36,9 +36,9 @@ const utilities = __importStar(require("./utilities"));
|
|
|
36
36
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
37
37
|
*
|
|
38
38
|
* const testMapping = new dbtcloud.SemanticLayerCredentialServiceTokenMapping("test_mapping", {
|
|
39
|
-
* semanticLayerCredentialId:
|
|
40
|
-
* serviceTokenId:
|
|
41
|
-
* projectId:
|
|
39
|
+
* semanticLayerCredentialId: test.id,
|
|
40
|
+
* serviceTokenId: testServiceToken.id,
|
|
41
|
+
* projectId: testProject.id,
|
|
42
42
|
* });
|
|
43
43
|
* ```
|
|
44
44
|
*
|
package/serviceToken.d.ts
CHANGED
package/serviceToken.js
CHANGED
package/snowflakeCredential.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* // Using the classic sensitive attribute (stored in state)
|
|
12
12
|
* const prodCredential = new dbtcloud.SnowflakeCredential("prod_credential", {
|
|
13
|
-
* projectId:
|
|
13
|
+
* projectId: dbtProject.id,
|
|
14
14
|
* authType: "password",
|
|
15
15
|
* numThreads: 16,
|
|
16
16
|
* schema: "SCHEMA",
|
|
@@ -20,7 +20,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* const config = new pulumi.Config();
|
|
21
21
|
* const snowflakePassword = config.require("snowflakePassword");
|
|
22
22
|
* const prodCredentialWo = new dbtcloud.SnowflakeCredential("prod_credential_wo", {
|
|
23
|
-
* projectId:
|
|
23
|
+
* projectId: dbtProject.id,
|
|
24
24
|
* authType: "password",
|
|
25
25
|
* numThreads: 16,
|
|
26
26
|
* schema: "SCHEMA",
|
package/snowflakeCredential.js
CHANGED
|
@@ -39,7 +39,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
39
39
|
*
|
|
40
40
|
* // Using the classic sensitive attribute (stored in state)
|
|
41
41
|
* const prodCredential = new dbtcloud.SnowflakeCredential("prod_credential", {
|
|
42
|
-
* projectId:
|
|
42
|
+
* projectId: dbtProject.id,
|
|
43
43
|
* authType: "password",
|
|
44
44
|
* numThreads: 16,
|
|
45
45
|
* schema: "SCHEMA",
|
|
@@ -49,7 +49,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
49
49
|
* const config = new pulumi.Config();
|
|
50
50
|
* const snowflakePassword = config.require("snowflakePassword");
|
|
51
51
|
* const prodCredentialWo = new dbtcloud.SnowflakeCredential("prod_credential_wo", {
|
|
52
|
-
* projectId:
|
|
52
|
+
* projectId: dbtProject.id,
|
|
53
53
|
* authType: "password",
|
|
54
54
|
* numThreads: 16,
|
|
55
55
|
* schema: "SCHEMA",
|
|
@@ -23,7 +23,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
23
23
|
*
|
|
24
24
|
* // Using the classic sensitive attributes (stored in state)
|
|
25
25
|
* const passwordAuth = new dbtcloud.SnowflakePlatformMetadataCredential("password_auth", {
|
|
26
|
-
* connectionId:
|
|
26
|
+
* connectionId: snowflake.id,
|
|
27
27
|
* catalogIngestionEnabled: true,
|
|
28
28
|
* costOptimizationEnabled: true,
|
|
29
29
|
* costInsightsEnabled: false,
|
|
@@ -34,7 +34,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
34
34
|
* warehouse: "METADATA_WH",
|
|
35
35
|
* });
|
|
36
36
|
* const keypairAuth = new dbtcloud.SnowflakePlatformMetadataCredential("keypair_auth", {
|
|
37
|
-
* connectionId:
|
|
37
|
+
* connectionId: snowflake.id,
|
|
38
38
|
* catalogIngestionEnabled: true,
|
|
39
39
|
* costOptimizationEnabled: false,
|
|
40
40
|
* costInsightsEnabled: false,
|
|
@@ -50,7 +50,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
50
50
|
* const snowflakeMetadataPrivateKey = config.require("snowflakeMetadataPrivateKey");
|
|
51
51
|
* const snowflakeMetadataPrivateKeyPassphrase = config.require("snowflakeMetadataPrivateKeyPassphrase");
|
|
52
52
|
* const passwordAuthWo = new dbtcloud.SnowflakePlatformMetadataCredential("password_auth_wo", {
|
|
53
|
-
* connectionId:
|
|
53
|
+
* connectionId: snowflake.id,
|
|
54
54
|
* catalogIngestionEnabled: true,
|
|
55
55
|
* costOptimizationEnabled: true,
|
|
56
56
|
* costInsightsEnabled: false,
|
|
@@ -62,7 +62,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
62
62
|
* warehouse: "METADATA_WH",
|
|
63
63
|
* });
|
|
64
64
|
* const keypairAuthWo = new dbtcloud.SnowflakePlatformMetadataCredential("keypair_auth_wo", {
|
|
65
|
-
* connectionId:
|
|
65
|
+
* connectionId: snowflake.id,
|
|
66
66
|
* catalogIngestionEnabled: true,
|
|
67
67
|
* costOptimizationEnabled: false,
|
|
68
68
|
* costInsightsEnabled: false,
|
|
@@ -52,7 +52,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
52
52
|
*
|
|
53
53
|
* // Using the classic sensitive attributes (stored in state)
|
|
54
54
|
* const passwordAuth = new dbtcloud.SnowflakePlatformMetadataCredential("password_auth", {
|
|
55
|
-
* connectionId:
|
|
55
|
+
* connectionId: snowflake.id,
|
|
56
56
|
* catalogIngestionEnabled: true,
|
|
57
57
|
* costOptimizationEnabled: true,
|
|
58
58
|
* costInsightsEnabled: false,
|
|
@@ -63,7 +63,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
63
63
|
* warehouse: "METADATA_WH",
|
|
64
64
|
* });
|
|
65
65
|
* const keypairAuth = new dbtcloud.SnowflakePlatformMetadataCredential("keypair_auth", {
|
|
66
|
-
* connectionId:
|
|
66
|
+
* connectionId: snowflake.id,
|
|
67
67
|
* catalogIngestionEnabled: true,
|
|
68
68
|
* costOptimizationEnabled: false,
|
|
69
69
|
* costInsightsEnabled: false,
|
|
@@ -79,7 +79,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
79
79
|
* const snowflakeMetadataPrivateKey = config.require("snowflakeMetadataPrivateKey");
|
|
80
80
|
* const snowflakeMetadataPrivateKeyPassphrase = config.require("snowflakeMetadataPrivateKeyPassphrase");
|
|
81
81
|
* const passwordAuthWo = new dbtcloud.SnowflakePlatformMetadataCredential("password_auth_wo", {
|
|
82
|
-
* connectionId:
|
|
82
|
+
* connectionId: snowflake.id,
|
|
83
83
|
* catalogIngestionEnabled: true,
|
|
84
84
|
* costOptimizationEnabled: true,
|
|
85
85
|
* costInsightsEnabled: false,
|
|
@@ -91,7 +91,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
91
91
|
* warehouse: "METADATA_WH",
|
|
92
92
|
* });
|
|
93
93
|
* const keypairAuthWo = new dbtcloud.SnowflakePlatformMetadataCredential("keypair_auth_wo", {
|
|
94
|
-
* connectionId:
|
|
94
|
+
* connectionId: snowflake.id,
|
|
95
95
|
* catalogIngestionEnabled: true,
|
|
96
96
|
* costOptimizationEnabled: false,
|
|
97
97
|
* costInsightsEnabled: false,
|
|
@@ -13,12 +13,12 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* // Example of Snowflake Semantic Layer Credential with password authentication
|
|
14
14
|
* const passwordAuth = new dbtcloud.SnowflakeSemanticLayerCredential("password_auth", {
|
|
15
15
|
* configuration: {
|
|
16
|
-
* projectId:
|
|
16
|
+
* projectId: projectId,
|
|
17
17
|
* name: "Snowflake SL Credential - Password Auth",
|
|
18
18
|
* adapterVersion: "snowflake_v0",
|
|
19
19
|
* },
|
|
20
20
|
* credential: {
|
|
21
|
-
* projectId:
|
|
21
|
+
* projectId: projectId,
|
|
22
22
|
* isActive: true,
|
|
23
23
|
* authType: "password",
|
|
24
24
|
* database: database,
|
|
@@ -34,12 +34,12 @@ import * as outputs from "./types/output";
|
|
|
34
34
|
* // Example of Snowflake Semantic Layer Credential with key pair authentication
|
|
35
35
|
* const keypairAuth = new dbtcloud.SnowflakeSemanticLayerCredential("keypair_auth", {
|
|
36
36
|
* configuration: {
|
|
37
|
-
* projectId:
|
|
37
|
+
* projectId: projectId,
|
|
38
38
|
* name: "Snowflake SL Credential - Key Pair Auth",
|
|
39
39
|
* adapterVersion: "snowflake_v0",
|
|
40
40
|
* },
|
|
41
41
|
* credential: {
|
|
42
|
-
* projectId:
|
|
42
|
+
* projectId: projectId,
|
|
43
43
|
* isActive: true,
|
|
44
44
|
* authType: "keypair",
|
|
45
45
|
* database: database,
|
|
@@ -40,12 +40,12 @@ const utilities = __importStar(require("./utilities"));
|
|
|
40
40
|
* // Example of Snowflake Semantic Layer Credential with password authentication
|
|
41
41
|
* const passwordAuth = new dbtcloud.SnowflakeSemanticLayerCredential("password_auth", {
|
|
42
42
|
* configuration: {
|
|
43
|
-
* projectId:
|
|
43
|
+
* projectId: projectId,
|
|
44
44
|
* name: "Snowflake SL Credential - Password Auth",
|
|
45
45
|
* adapterVersion: "snowflake_v0",
|
|
46
46
|
* },
|
|
47
47
|
* credential: {
|
|
48
|
-
* projectId:
|
|
48
|
+
* projectId: projectId,
|
|
49
49
|
* isActive: true,
|
|
50
50
|
* authType: "password",
|
|
51
51
|
* database: database,
|
|
@@ -61,12 +61,12 @@ const utilities = __importStar(require("./utilities"));
|
|
|
61
61
|
* // Example of Snowflake Semantic Layer Credential with key pair authentication
|
|
62
62
|
* const keypairAuth = new dbtcloud.SnowflakeSemanticLayerCredential("keypair_auth", {
|
|
63
63
|
* configuration: {
|
|
64
|
-
* projectId:
|
|
64
|
+
* projectId: projectId,
|
|
65
65
|
* name: "Snowflake SL Credential - Key Pair Auth",
|
|
66
66
|
* adapterVersion: "snowflake_v0",
|
|
67
67
|
* },
|
|
68
68
|
* credential: {
|
|
69
|
-
* projectId:
|
|
69
|
+
* projectId: projectId,
|
|
70
70
|
* isActive: true,
|
|
71
71
|
* authType: "keypair",
|
|
72
72
|
* database: database,
|
package/sparkCredential.d.ts
CHANGED
|
@@ -10,14 +10,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* // Using the classic sensitive attribute (stored in state)
|
|
12
12
|
* const mySparkCred = new dbtcloud.SparkCredential("my_spark_cred", {
|
|
13
|
-
* projectId:
|
|
13
|
+
* projectId: dbtProject.id,
|
|
14
14
|
* token: "abcdefgh",
|
|
15
15
|
* schema: "my_schema",
|
|
16
16
|
* });
|
|
17
17
|
* const config = new pulumi.Config();
|
|
18
18
|
* const sparkToken = config.require("sparkToken");
|
|
19
19
|
* const mySparkCredWo = new dbtcloud.SparkCredential("my_spark_cred_wo", {
|
|
20
|
-
* projectId:
|
|
20
|
+
* projectId: dbtProject.id,
|
|
21
21
|
* tokenWo: sparkToken,
|
|
22
22
|
* tokenWoVersion: 1,
|
|
23
23
|
* schema: "my_schema",
|
package/sparkCredential.js
CHANGED
|
@@ -39,14 +39,14 @@ const utilities = __importStar(require("./utilities"));
|
|
|
39
39
|
*
|
|
40
40
|
* // Using the classic sensitive attribute (stored in state)
|
|
41
41
|
* const mySparkCred = new dbtcloud.SparkCredential("my_spark_cred", {
|
|
42
|
-
* projectId:
|
|
42
|
+
* projectId: dbtProject.id,
|
|
43
43
|
* token: "abcdefgh",
|
|
44
44
|
* schema: "my_schema",
|
|
45
45
|
* });
|
|
46
46
|
* const config = new pulumi.Config();
|
|
47
47
|
* const sparkToken = config.require("sparkToken");
|
|
48
48
|
* const mySparkCredWo = new dbtcloud.SparkCredential("my_spark_cred_wo", {
|
|
49
|
-
* projectId:
|
|
49
|
+
* projectId: dbtProject.id,
|
|
50
50
|
* tokenWo: sparkToken,
|
|
51
51
|
* tokenWoVersion: 1,
|
|
52
52
|
* schema: "my_schema",
|
package/starburstCredential.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* // Using the classic sensitive attribute (stored in state)
|
|
12
12
|
* const example = new dbtcloud.StarburstCredential("example", {
|
|
13
|
-
* projectId:
|
|
13
|
+
* projectId: exampleDbtcloudProject.id,
|
|
14
14
|
* database: "your_catalog",
|
|
15
15
|
* schema: "your_schema",
|
|
16
16
|
* user: "your_user",
|
|
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* const config = new pulumi.Config();
|
|
20
20
|
* const starburstPassword = config.require("starburstPassword");
|
|
21
21
|
* const exampleWo = new dbtcloud.StarburstCredential("example_wo", {
|
|
22
|
-
* projectId:
|
|
22
|
+
* projectId: exampleDbtcloudProject.id,
|
|
23
23
|
* database: "your_catalog",
|
|
24
24
|
* schema: "your_schema",
|
|
25
25
|
* user: "your_user",
|
package/starburstCredential.js
CHANGED
|
@@ -39,7 +39,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
39
39
|
*
|
|
40
40
|
* // Using the classic sensitive attribute (stored in state)
|
|
41
41
|
* const example = new dbtcloud.StarburstCredential("example", {
|
|
42
|
-
* projectId:
|
|
42
|
+
* projectId: exampleDbtcloudProject.id,
|
|
43
43
|
* database: "your_catalog",
|
|
44
44
|
* schema: "your_schema",
|
|
45
45
|
* user: "your_user",
|
|
@@ -48,7 +48,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
48
48
|
* const config = new pulumi.Config();
|
|
49
49
|
* const starburstPassword = config.require("starburstPassword");
|
|
50
50
|
* const exampleWo = new dbtcloud.StarburstCredential("example_wo", {
|
|
51
|
-
* projectId:
|
|
51
|
+
* projectId: exampleDbtcloudProject.id,
|
|
52
52
|
* database: "your_catalog",
|
|
53
53
|
* schema: "your_schema",
|
|
54
54
|
* user: "your_user",
|
package/synapseCredential.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* // Using the classic sensitive attributes (stored in state)
|
|
12
12
|
* // when using sql authentication
|
|
13
13
|
* const mySynapseCredSql = new dbtcloud.SynapseCredential("my_synapse_cred_sql", {
|
|
14
|
-
* projectId:
|
|
14
|
+
* projectId: dbtProject.id,
|
|
15
15
|
* authentication: "sql",
|
|
16
16
|
* schema: "my_schema",
|
|
17
17
|
* user: "my_user",
|
|
@@ -20,7 +20,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* });
|
|
21
21
|
* // when using AD authentication
|
|
22
22
|
* const mySynapseCredAd = new dbtcloud.SynapseCredential("my_synapse_cred_ad", {
|
|
23
|
-
* projectId:
|
|
23
|
+
* projectId: dbtProject.id,
|
|
24
24
|
* authentication: "ActiveDirectoryPassword",
|
|
25
25
|
* schema: "my_schema",
|
|
26
26
|
* user: "my_user",
|
|
@@ -29,7 +29,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
* });
|
|
30
30
|
* // when using service principal authentication
|
|
31
31
|
* const mySynapseCredServPrinc = new dbtcloud.SynapseCredential("my_synapse_cred_serv_princ", {
|
|
32
|
-
* projectId:
|
|
32
|
+
* projectId: dbtProject.id,
|
|
33
33
|
* authentication: "ServicePrincipal",
|
|
34
34
|
* schema: "my_schema",
|
|
35
35
|
* clientId: "my_client_id",
|
|
@@ -42,7 +42,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
42
42
|
* const synapseClientSecret = config.require("synapseClientSecret");
|
|
43
43
|
* // when using AD authentication with write-only password
|
|
44
44
|
* const mySynapseCredAdWo = new dbtcloud.SynapseCredential("my_synapse_cred_ad_wo", {
|
|
45
|
-
* projectId:
|
|
45
|
+
* projectId: dbtProject.id,
|
|
46
46
|
* authentication: "ActiveDirectoryPassword",
|
|
47
47
|
* schema: "my_schema",
|
|
48
48
|
* user: "my_user",
|
|
@@ -52,7 +52,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
52
52
|
* });
|
|
53
53
|
* // when using service principal authentication with write-only client secret
|
|
54
54
|
* const mySynapseCredServPrincWo = new dbtcloud.SynapseCredential("my_synapse_cred_serv_princ_wo", {
|
|
55
|
-
* projectId:
|
|
55
|
+
* projectId: dbtProject.id,
|
|
56
56
|
* authentication: "ServicePrincipal",
|
|
57
57
|
* schema: "my_schema",
|
|
58
58
|
* clientId: "my_client_id",
|
package/synapseCredential.js
CHANGED
|
@@ -40,7 +40,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
40
40
|
* // Using the classic sensitive attributes (stored in state)
|
|
41
41
|
* // when using sql authentication
|
|
42
42
|
* const mySynapseCredSql = new dbtcloud.SynapseCredential("my_synapse_cred_sql", {
|
|
43
|
-
* projectId:
|
|
43
|
+
* projectId: dbtProject.id,
|
|
44
44
|
* authentication: "sql",
|
|
45
45
|
* schema: "my_schema",
|
|
46
46
|
* user: "my_user",
|
|
@@ -49,7 +49,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
49
49
|
* });
|
|
50
50
|
* // when using AD authentication
|
|
51
51
|
* const mySynapseCredAd = new dbtcloud.SynapseCredential("my_synapse_cred_ad", {
|
|
52
|
-
* projectId:
|
|
52
|
+
* projectId: dbtProject.id,
|
|
53
53
|
* authentication: "ActiveDirectoryPassword",
|
|
54
54
|
* schema: "my_schema",
|
|
55
55
|
* user: "my_user",
|
|
@@ -58,7 +58,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
58
58
|
* });
|
|
59
59
|
* // when using service principal authentication
|
|
60
60
|
* const mySynapseCredServPrinc = new dbtcloud.SynapseCredential("my_synapse_cred_serv_princ", {
|
|
61
|
-
* projectId:
|
|
61
|
+
* projectId: dbtProject.id,
|
|
62
62
|
* authentication: "ServicePrincipal",
|
|
63
63
|
* schema: "my_schema",
|
|
64
64
|
* clientId: "my_client_id",
|
|
@@ -71,7 +71,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
71
71
|
* const synapseClientSecret = config.require("synapseClientSecret");
|
|
72
72
|
* // when using AD authentication with write-only password
|
|
73
73
|
* const mySynapseCredAdWo = new dbtcloud.SynapseCredential("my_synapse_cred_ad_wo", {
|
|
74
|
-
* projectId:
|
|
74
|
+
* projectId: dbtProject.id,
|
|
75
75
|
* authentication: "ActiveDirectoryPassword",
|
|
76
76
|
* schema: "my_schema",
|
|
77
77
|
* user: "my_user",
|
|
@@ -81,7 +81,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
81
81
|
* });
|
|
82
82
|
* // when using service principal authentication with write-only client secret
|
|
83
83
|
* const mySynapseCredServPrincWo = new dbtcloud.SynapseCredential("my_synapse_cred_serv_princ_wo", {
|
|
84
|
-
* projectId:
|
|
84
|
+
* projectId: dbtProject.id,
|
|
85
85
|
* authentication: "ServicePrincipal",
|
|
86
86
|
* schema: "my_schema",
|
|
87
87
|
* clientId: "my_client_id",
|
package/teradataCredential.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* // Using the classic sensitive attribute (stored in state)
|
|
12
12
|
* const example = new dbtcloud.TeradataCredential("example", {
|
|
13
|
-
* projectId:
|
|
13
|
+
* projectId: exampleDbtcloudProject.id,
|
|
14
14
|
* schema: "your_schema",
|
|
15
15
|
* user: "your_user",
|
|
16
16
|
* password: "your_password",
|
|
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* const config = new pulumi.Config();
|
|
19
19
|
* const teradataPassword = config.require("teradataPassword");
|
|
20
20
|
* const exampleWo = new dbtcloud.TeradataCredential("example_wo", {
|
|
21
|
-
* projectId:
|
|
21
|
+
* projectId: exampleDbtcloudProject.id,
|
|
22
22
|
* schema: "your_schema",
|
|
23
23
|
* user: "your_user",
|
|
24
24
|
* passwordWo: teradataPassword,
|
package/teradataCredential.js
CHANGED
|
@@ -39,7 +39,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
39
39
|
*
|
|
40
40
|
* // Using the classic sensitive attribute (stored in state)
|
|
41
41
|
* const example = new dbtcloud.TeradataCredential("example", {
|
|
42
|
-
* projectId:
|
|
42
|
+
* projectId: exampleDbtcloudProject.id,
|
|
43
43
|
* schema: "your_schema",
|
|
44
44
|
* user: "your_user",
|
|
45
45
|
* password: "your_password",
|
|
@@ -47,7 +47,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
47
47
|
* const config = new pulumi.Config();
|
|
48
48
|
* const teradataPassword = config.require("teradataPassword");
|
|
49
49
|
* const exampleWo = new dbtcloud.TeradataCredential("example_wo", {
|
|
50
|
-
* projectId:
|
|
50
|
+
* projectId: exampleDbtcloudProject.id,
|
|
51
51
|
* schema: "your_schema",
|
|
52
52
|
* user: "your_user",
|
|
53
53
|
* passwordWo: teradataPassword,
|
package/userGroups.d.ts
CHANGED
package/userGroups.js
CHANGED
|
@@ -44,7 +44,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
44
44
|
*
|
|
45
45
|
* // we can assign groups to users
|
|
46
46
|
* const myUserGroups = new dbtcloud.UserGroups("my_user_groups", {
|
|
47
|
-
* userId:
|
|
47
|
+
* userId: myUser.id,
|
|
48
48
|
* groupIds: [
|
|
49
49
|
* 1234,
|
|
50
50
|
* myGroup.id,
|