@pulumi/databricks 1.64.0 → 1.65.0-alpha.1744183707
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/getAwsAssumeRolePolicy.d.ts +2 -2
- package/getAwsAssumeRolePolicy.js +2 -2
- package/mwsCredentials.d.ts +2 -2
- package/mwsCredentials.js +2 -2
- package/mwsCustomerManagedKeys.d.ts +7 -7
- package/mwsCustomerManagedKeys.js +7 -7
- package/mwsNccBinding.d.ts +2 -2
- package/mwsNccBinding.js +2 -2
- package/mwsNccPrivateEndpointRule.d.ts +2 -2
- package/mwsNccPrivateEndpointRule.js +2 -2
- package/mwsNetworkConnectivityConfig.d.ts +2 -2
- package/mwsNetworkConnectivityConfig.js +2 -2
- package/mwsNetworks.d.ts +1 -1
- package/mwsNetworks.js +1 -1
- package/mwsStorageConfigurations.d.ts +1 -1
- package/mwsStorageConfigurations.js +1 -1
- package/mwsVpcEndpoint.d.ts +4 -4
- package/mwsVpcEndpoint.js +4 -4
- package/mwsWorkspaces.d.ts +5 -5
- package/mwsWorkspaces.js +5 -5
- package/package.json +2 -2
- package/sqlPermissions.d.ts +5 -1
- package/sqlPermissions.js +5 -1
- package/sqlPermissions.js.map +1 -1
|
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
*
|
|
14
14
|
* const config = new pulumi.Config();
|
|
15
15
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
16
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
16
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
17
17
|
* const _this = databricks.getAwsCrossAccountPolicy({});
|
|
18
18
|
* const crossAccountPolicy = new aws.iam.Policy("cross_account_policy", {
|
|
19
19
|
* name: `${prefix}-crossaccount-iam-policy`,
|
|
@@ -103,7 +103,7 @@ export interface GetAwsAssumeRolePolicyResult {
|
|
|
103
103
|
*
|
|
104
104
|
* const config = new pulumi.Config();
|
|
105
105
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
106
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
106
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
107
107
|
* const _this = databricks.getAwsCrossAccountPolicy({});
|
|
108
108
|
* const crossAccountPolicy = new aws.iam.Policy("cross_account_policy", {
|
|
109
109
|
* name: `${prefix}-crossaccount-iam-policy`,
|
|
@@ -19,7 +19,7 @@ const utilities = require("./utilities");
|
|
|
19
19
|
*
|
|
20
20
|
* const config = new pulumi.Config();
|
|
21
21
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
22
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
22
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
23
23
|
* const _this = databricks.getAwsCrossAccountPolicy({});
|
|
24
24
|
* const crossAccountPolicy = new aws.iam.Policy("cross_account_policy", {
|
|
25
25
|
* name: `${prefix}-crossaccount-iam-policy`,
|
|
@@ -77,7 +77,7 @@ exports.getAwsAssumeRolePolicy = getAwsAssumeRolePolicy;
|
|
|
77
77
|
*
|
|
78
78
|
* const config = new pulumi.Config();
|
|
79
79
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
80
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
80
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
81
81
|
* const _this = databricks.getAwsCrossAccountPolicy({});
|
|
82
82
|
* const crossAccountPolicy = new aws.iam.Policy("cross_account_policy", {
|
|
83
83
|
* name: `${prefix}-crossaccount-iam-policy`,
|
package/mwsCredentials.d.ts
CHANGED
|
@@ -9,9 +9,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
*
|
|
10
10
|
* const config = new pulumi.Config();
|
|
11
11
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
12
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
12
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
13
13
|
* // Names of created resources will be prefixed with this value
|
|
14
|
-
* const prefix = config.requireObject("prefix");
|
|
14
|
+
* const prefix = config.requireObject<any>("prefix");
|
|
15
15
|
* const _this = databricks.getAwsAssumeRolePolicy({
|
|
16
16
|
* externalId: databricksAccountId,
|
|
17
17
|
* });
|
package/mwsCredentials.js
CHANGED
|
@@ -15,9 +15,9 @@ const utilities = require("./utilities");
|
|
|
15
15
|
*
|
|
16
16
|
* const config = new pulumi.Config();
|
|
17
17
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
18
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
18
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
19
19
|
* // Names of created resources will be prefixed with this value
|
|
20
|
-
* const prefix = config.requireObject("prefix");
|
|
20
|
+
* const prefix = config.requireObject<any>("prefix");
|
|
21
21
|
* const _this = databricks.getAwsAssumeRolePolicy({
|
|
22
22
|
* externalId: databricksAccountId,
|
|
23
23
|
* });
|
|
@@ -19,7 +19,7 @@ import * as outputs from "./types/output";
|
|
|
19
19
|
*
|
|
20
20
|
* const config = new pulumi.Config();
|
|
21
21
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
22
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
22
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
23
23
|
* const current = aws.getCallerIdentity({});
|
|
24
24
|
* const databricksManagedServicesCmk = current.then(current => aws.iam.getPolicyDocument({
|
|
25
25
|
* version: "2012-10-17",
|
|
@@ -72,9 +72,9 @@ import * as outputs from "./types/output";
|
|
|
72
72
|
*
|
|
73
73
|
* const config = new pulumi.Config();
|
|
74
74
|
* // Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/
|
|
75
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
75
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
76
76
|
* // Id of a google_kms_crypto_key
|
|
77
|
-
* const cmekResourceId = config.requireObject("cmekResourceId");
|
|
77
|
+
* const cmekResourceId = config.requireObject<any>("cmekResourceId");
|
|
78
78
|
* const managedServices = new databricks.MwsCustomerManagedKeys("managed_services", {
|
|
79
79
|
* accountId: databricksAccountId,
|
|
80
80
|
* gcpKeyInfo: {
|
|
@@ -95,9 +95,9 @@ import * as outputs from "./types/output";
|
|
|
95
95
|
*
|
|
96
96
|
* const config = new pulumi.Config();
|
|
97
97
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
98
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
98
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
99
99
|
* // AWS ARN for the Databricks cross account role
|
|
100
|
-
* const databricksCrossAccountRole = config.requireObject("databricksCrossAccountRole");
|
|
100
|
+
* const databricksCrossAccountRole = config.requireObject<any>("databricksCrossAccountRole");
|
|
101
101
|
* const current = aws.getCallerIdentity({});
|
|
102
102
|
* const databricksStorageCmk = current.then(current => aws.iam.getPolicyDocument({
|
|
103
103
|
* version: "2012-10-17",
|
|
@@ -192,9 +192,9 @@ import * as outputs from "./types/output";
|
|
|
192
192
|
*
|
|
193
193
|
* const config = new pulumi.Config();
|
|
194
194
|
* // Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/
|
|
195
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
195
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
196
196
|
* // Id of a google_kms_crypto_key
|
|
197
|
-
* const cmekResourceId = config.requireObject("cmekResourceId");
|
|
197
|
+
* const cmekResourceId = config.requireObject<any>("cmekResourceId");
|
|
198
198
|
* const storage = new databricks.MwsCustomerManagedKeys("storage", {
|
|
199
199
|
* accountId: databricksAccountId,
|
|
200
200
|
* gcpKeyInfo: {
|
|
@@ -23,7 +23,7 @@ const utilities = require("./utilities");
|
|
|
23
23
|
*
|
|
24
24
|
* const config = new pulumi.Config();
|
|
25
25
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
26
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
26
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
27
27
|
* const current = aws.getCallerIdentity({});
|
|
28
28
|
* const databricksManagedServicesCmk = current.then(current => aws.iam.getPolicyDocument({
|
|
29
29
|
* version: "2012-10-17",
|
|
@@ -76,9 +76,9 @@ const utilities = require("./utilities");
|
|
|
76
76
|
*
|
|
77
77
|
* const config = new pulumi.Config();
|
|
78
78
|
* // Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/
|
|
79
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
79
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
80
80
|
* // Id of a google_kms_crypto_key
|
|
81
|
-
* const cmekResourceId = config.requireObject("cmekResourceId");
|
|
81
|
+
* const cmekResourceId = config.requireObject<any>("cmekResourceId");
|
|
82
82
|
* const managedServices = new databricks.MwsCustomerManagedKeys("managed_services", {
|
|
83
83
|
* accountId: databricksAccountId,
|
|
84
84
|
* gcpKeyInfo: {
|
|
@@ -99,9 +99,9 @@ const utilities = require("./utilities");
|
|
|
99
99
|
*
|
|
100
100
|
* const config = new pulumi.Config();
|
|
101
101
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
102
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
102
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
103
103
|
* // AWS ARN for the Databricks cross account role
|
|
104
|
-
* const databricksCrossAccountRole = config.requireObject("databricksCrossAccountRole");
|
|
104
|
+
* const databricksCrossAccountRole = config.requireObject<any>("databricksCrossAccountRole");
|
|
105
105
|
* const current = aws.getCallerIdentity({});
|
|
106
106
|
* const databricksStorageCmk = current.then(current => aws.iam.getPolicyDocument({
|
|
107
107
|
* version: "2012-10-17",
|
|
@@ -196,9 +196,9 @@ const utilities = require("./utilities");
|
|
|
196
196
|
*
|
|
197
197
|
* const config = new pulumi.Config();
|
|
198
198
|
* // Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/
|
|
199
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
199
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
200
200
|
* // Id of a google_kms_crypto_key
|
|
201
|
-
* const cmekResourceId = config.requireObject("cmekResourceId");
|
|
201
|
+
* const cmekResourceId = config.requireObject<any>("cmekResourceId");
|
|
202
202
|
* const storage = new databricks.MwsCustomerManagedKeys("storage", {
|
|
203
203
|
* accountId: databricksAccountId,
|
|
204
204
|
* gcpKeyInfo: {
|
package/mwsNccBinding.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* import * as databricks from "@pulumi/databricks";
|
|
16
16
|
*
|
|
17
17
|
* const config = new pulumi.Config();
|
|
18
|
-
* const region = config.requireObject("region");
|
|
19
|
-
* const prefix = config.requireObject("prefix");
|
|
18
|
+
* const region = config.requireObject<any>("region");
|
|
19
|
+
* const prefix = config.requireObject<any>("prefix");
|
|
20
20
|
* const ncc = new databricks.MwsNetworkConnectivityConfig("ncc", {
|
|
21
21
|
* name: `ncc-for-${prefix}`,
|
|
22
22
|
* region: region,
|
package/mwsNccBinding.js
CHANGED
|
@@ -21,8 +21,8 @@ const utilities = require("./utilities");
|
|
|
21
21
|
* import * as databricks from "@pulumi/databricks";
|
|
22
22
|
*
|
|
23
23
|
* const config = new pulumi.Config();
|
|
24
|
-
* const region = config.requireObject("region");
|
|
25
|
-
* const prefix = config.requireObject("prefix");
|
|
24
|
+
* const region = config.requireObject<any>("region");
|
|
25
|
+
* const prefix = config.requireObject<any>("prefix");
|
|
26
26
|
* const ncc = new databricks.MwsNetworkConnectivityConfig("ncc", {
|
|
27
27
|
* name: `ncc-for-${prefix}`,
|
|
28
28
|
* region: region,
|
|
@@ -13,8 +13,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* import * as databricks from "@pulumi/databricks";
|
|
14
14
|
*
|
|
15
15
|
* const config = new pulumi.Config();
|
|
16
|
-
* const region = config.requireObject("region");
|
|
17
|
-
* const prefix = config.requireObject("prefix");
|
|
16
|
+
* const region = config.requireObject<any>("region");
|
|
17
|
+
* const prefix = config.requireObject<any>("prefix");
|
|
18
18
|
* const ncc = new databricks.MwsNetworkConnectivityConfig("ncc", {
|
|
19
19
|
* name: `ncc-for-${prefix}`,
|
|
20
20
|
* region: region,
|
|
@@ -19,8 +19,8 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* import * as databricks from "@pulumi/databricks";
|
|
20
20
|
*
|
|
21
21
|
* const config = new pulumi.Config();
|
|
22
|
-
* const region = config.requireObject("region");
|
|
23
|
-
* const prefix = config.requireObject("prefix");
|
|
22
|
+
* const region = config.requireObject<any>("region");
|
|
23
|
+
* const prefix = config.requireObject<any>("prefix");
|
|
24
24
|
* const ncc = new databricks.MwsNetworkConnectivityConfig("ncc", {
|
|
25
25
|
* name: `ncc-for-${prefix}`,
|
|
26
26
|
* region: region,
|
|
@@ -15,8 +15,8 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* import * as databricks from "@pulumi/databricks";
|
|
16
16
|
*
|
|
17
17
|
* const config = new pulumi.Config();
|
|
18
|
-
* const region = config.requireObject("region");
|
|
19
|
-
* const prefix = config.requireObject("prefix");
|
|
18
|
+
* const region = config.requireObject<any>("region");
|
|
19
|
+
* const prefix = config.requireObject<any>("prefix");
|
|
20
20
|
* const ncc = new databricks.MwsNetworkConnectivityConfig("ncc", {
|
|
21
21
|
* name: `ncc-for-${prefix}`,
|
|
22
22
|
* region: region,
|
|
@@ -19,8 +19,8 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* import * as databricks from "@pulumi/databricks";
|
|
20
20
|
*
|
|
21
21
|
* const config = new pulumi.Config();
|
|
22
|
-
* const region = config.requireObject("region");
|
|
23
|
-
* const prefix = config.requireObject("prefix");
|
|
22
|
+
* const region = config.requireObject<any>("region");
|
|
23
|
+
* const prefix = config.requireObject<any>("prefix");
|
|
24
24
|
* const ncc = new databricks.MwsNetworkConnectivityConfig("ncc", {
|
|
25
25
|
* name: `ncc-for-${prefix}`,
|
|
26
26
|
* region: region,
|
package/mwsNetworks.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
*
|
|
14
14
|
* const config = new pulumi.Config();
|
|
15
15
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
16
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
16
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
17
17
|
* const dbxPrivateVpc = new google.index.ComputeNetwork("dbx_private_vpc", {
|
|
18
18
|
* project: googleProject,
|
|
19
19
|
* name: `tf-network-${suffix.result}`,
|
package/mwsNetworks.js
CHANGED
|
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
|
|
|
17
17
|
*
|
|
18
18
|
* const config = new pulumi.Config();
|
|
19
19
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
20
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
20
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
21
21
|
* const dbxPrivateVpc = new google.index.ComputeNetwork("dbx_private_vpc", {
|
|
22
22
|
* project: googleProject,
|
|
23
23
|
* name: `tf-network-${suffix.result}`,
|
|
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
*
|
|
10
10
|
* const config = new pulumi.Config();
|
|
11
11
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
12
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
12
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
13
13
|
* const rootStorageBucket = new aws.s3.BucketV2("root_storage_bucket", {
|
|
14
14
|
* bucket: `${prefix}-rootbucket`,
|
|
15
15
|
* acl: "private",
|
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
*
|
|
16
16
|
* const config = new pulumi.Config();
|
|
17
17
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
18
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
18
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
19
19
|
* const rootStorageBucket = new aws.s3.BucketV2("root_storage_bucket", {
|
|
20
20
|
* bucket: `${prefix}-rootbucket`,
|
|
21
21
|
* acl: "private",
|
package/mwsVpcEndpoint.d.ts
CHANGED
|
@@ -131,10 +131,10 @@ import * as outputs from "./types/output";
|
|
|
131
131
|
*
|
|
132
132
|
* const config = new pulumi.Config();
|
|
133
133
|
* // Account Id that could be found in https://accounts.gcp.databricks.com/
|
|
134
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
135
|
-
* const databricksGoogleServiceAccount = config.requireObject("databricksGoogleServiceAccount");
|
|
136
|
-
* const googleProject = config.requireObject("googleProject");
|
|
137
|
-
* const subnetRegion = config.requireObject("subnetRegion");
|
|
134
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
135
|
+
* const databricksGoogleServiceAccount = config.requireObject<any>("databricksGoogleServiceAccount");
|
|
136
|
+
* const googleProject = config.requireObject<any>("googleProject");
|
|
137
|
+
* const subnetRegion = config.requireObject<any>("subnetRegion");
|
|
138
138
|
* const workspace = new databricks.MwsVpcEndpoint("workspace", {
|
|
139
139
|
* accountId: databricksAccountId,
|
|
140
140
|
* vpcEndpointName: "PSC Rest API endpoint",
|
package/mwsVpcEndpoint.js
CHANGED
|
@@ -135,10 +135,10 @@ const utilities = require("./utilities");
|
|
|
135
135
|
*
|
|
136
136
|
* const config = new pulumi.Config();
|
|
137
137
|
* // Account Id that could be found in https://accounts.gcp.databricks.com/
|
|
138
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
139
|
-
* const databricksGoogleServiceAccount = config.requireObject("databricksGoogleServiceAccount");
|
|
140
|
-
* const googleProject = config.requireObject("googleProject");
|
|
141
|
-
* const subnetRegion = config.requireObject("subnetRegion");
|
|
138
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
139
|
+
* const databricksGoogleServiceAccount = config.requireObject<any>("databricksGoogleServiceAccount");
|
|
140
|
+
* const googleProject = config.requireObject<any>("googleProject");
|
|
141
|
+
* const subnetRegion = config.requireObject<any>("subnetRegion");
|
|
142
142
|
* const workspace = new databricks.MwsVpcEndpoint("workspace", {
|
|
143
143
|
* accountId: databricksAccountId,
|
|
144
144
|
* vpcEndpointName: "PSC Rest API endpoint",
|
package/mwsWorkspaces.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as outputs from "./types/output";
|
|
|
21
21
|
*
|
|
22
22
|
* const config = new pulumi.Config();
|
|
23
23
|
* // Account ID that can be found in the dropdown under the email address in the upper-right corner of https://accounts.cloud.databricks.com/
|
|
24
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
24
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
25
25
|
* // register cross-account ARN
|
|
26
26
|
* const _this = new databricks.MwsCredentials("this", {
|
|
27
27
|
* accountId: databricksAccountId,
|
|
@@ -69,7 +69,7 @@ import * as outputs from "./types/output";
|
|
|
69
69
|
*
|
|
70
70
|
* const config = new pulumi.Config();
|
|
71
71
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
72
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
72
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
73
73
|
* const naming = new random.index.String("naming", {
|
|
74
74
|
* special: false,
|
|
75
75
|
* upper: false,
|
|
@@ -166,9 +166,9 @@ import * as outputs from "./types/output";
|
|
|
166
166
|
*
|
|
167
167
|
* const config = new pulumi.Config();
|
|
168
168
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
169
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
170
|
-
* const databricksGoogleServiceAccount = config.requireObject("databricksGoogleServiceAccount");
|
|
171
|
-
* const googleProject = config.requireObject("googleProject");
|
|
169
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
170
|
+
* const databricksGoogleServiceAccount = config.requireObject<any>("databricksGoogleServiceAccount");
|
|
171
|
+
* const googleProject = config.requireObject<any>("googleProject");
|
|
172
172
|
* // register VPC
|
|
173
173
|
* const _this = new databricks.MwsNetworks("this", {
|
|
174
174
|
* accountId: databricksAccountId,
|
package/mwsWorkspaces.js
CHANGED
|
@@ -25,7 +25,7 @@ const utilities = require("./utilities");
|
|
|
25
25
|
*
|
|
26
26
|
* const config = new pulumi.Config();
|
|
27
27
|
* // Account ID that can be found in the dropdown under the email address in the upper-right corner of https://accounts.cloud.databricks.com/
|
|
28
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
28
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
29
29
|
* // register cross-account ARN
|
|
30
30
|
* const _this = new databricks.MwsCredentials("this", {
|
|
31
31
|
* accountId: databricksAccountId,
|
|
@@ -73,7 +73,7 @@ const utilities = require("./utilities");
|
|
|
73
73
|
*
|
|
74
74
|
* const config = new pulumi.Config();
|
|
75
75
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
76
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
76
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
77
77
|
* const naming = new random.index.String("naming", {
|
|
78
78
|
* special: false,
|
|
79
79
|
* upper: false,
|
|
@@ -170,9 +170,9 @@ const utilities = require("./utilities");
|
|
|
170
170
|
*
|
|
171
171
|
* const config = new pulumi.Config();
|
|
172
172
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
173
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
174
|
-
* const databricksGoogleServiceAccount = config.requireObject("databricksGoogleServiceAccount");
|
|
175
|
-
* const googleProject = config.requireObject("googleProject");
|
|
173
|
+
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
174
|
+
* const databricksGoogleServiceAccount = config.requireObject<any>("databricksGoogleServiceAccount");
|
|
175
|
+
* const googleProject = config.requireObject<any>("googleProject");
|
|
176
176
|
* // register VPC
|
|
177
177
|
* const _this = new databricks.MwsNetworks("this", {
|
|
178
178
|
* accountId: databricksAccountId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.65.0-alpha.1744183707",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "databricks",
|
|
27
|
-
"version": "1.
|
|
27
|
+
"version": "1.65.0-alpha.1744183707"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/sqlPermissions.d.ts
CHANGED
|
@@ -18,7 +18,11 @@ import * as outputs from "./types/output";
|
|
|
18
18
|
*
|
|
19
19
|
* It is required to define all permissions for a securable in a single resource, otherwise Pulumi cannot guarantee config drift prevention.
|
|
20
20
|
*
|
|
21
|
-
*
|
|
21
|
+
* ## Example Usage
|
|
22
|
+
*
|
|
23
|
+
* The following resource definition will enforce access control on a table by executing the following SQL queries on a special auto-terminating cluster it would create for this operation:
|
|
24
|
+
*
|
|
25
|
+
* * ``` SHOW GRANT ON TABLE `default`.`foo` ```
|
|
22
26
|
* * ```REVOKE ALL PRIVILEGES ON TABLE `default`.`foo` FROM ... every group and user that has access to it ...```
|
|
23
27
|
* * ``` GRANT MODIFY, SELECT ON TABLE `default`.`foo` TO `serge@example.com` ```
|
|
24
28
|
* * ``` GRANT SELECT ON TABLE `default`.`foo` TO `special group` ```
|
package/sqlPermissions.js
CHANGED
|
@@ -22,7 +22,11 @@ const utilities = require("./utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* It is required to define all permissions for a securable in a single resource, otherwise Pulumi cannot guarantee config drift prevention.
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* ## Example Usage
|
|
26
|
+
*
|
|
27
|
+
* The following resource definition will enforce access control on a table by executing the following SQL queries on a special auto-terminating cluster it would create for this operation:
|
|
28
|
+
*
|
|
29
|
+
* * ``` SHOW GRANT ON TABLE `default`.`foo` ```
|
|
26
30
|
* * ```REVOKE ALL PRIVILEGES ON TABLE `default`.`foo` FROM ... every group and user that has access to it ...```
|
|
27
31
|
* * ``` GRANT MODIFY, SELECT ON TABLE `default`.`foo` TO `serge@example.com` ```
|
|
28
32
|
* * ``` GRANT SELECT ON TABLE `default`.`foo` TO `special group` ```
|
package/sqlPermissions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlPermissions.js","sourceRoot":"","sources":["../sqlPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"sqlPermissions.js","sourceRoot":"","sources":["../sqlPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KA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