@pulumi/databricks 1.90.0 → 1.91.0-alpha.1775067146
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/cluster.d.ts +4 -0
- package/cluster.js +4 -0
- package/cluster.js.map +1 -1
- package/disableLegacyAccessSetting.d.ts +4 -0
- package/disableLegacyAccessSetting.js +4 -0
- package/disableLegacyAccessSetting.js.map +1 -1
- package/getAwsAssumeRolePolicy.d.ts +10 -10
- package/getAwsAssumeRolePolicy.js +10 -10
- package/getAwsBucketPolicy.d.ts +132 -12
- package/getAwsBucketPolicy.js +132 -12
- package/getAwsBucketPolicy.js.map +1 -1
- package/getAwsUnityCatalogAssumeRolePolicy.d.ts +10 -10
- package/getAwsUnityCatalogAssumeRolePolicy.js +10 -10
- package/getAwsUnityCatalogPolicy.d.ts +10 -10
- package/getAwsUnityCatalogPolicy.js +10 -10
- package/getCurrentConfig.d.ts +4 -4
- package/getCurrentConfig.js +4 -4
- package/getMetastore.d.ts +4 -4
- package/getMetastore.js +4 -4
- package/instanceProfile.d.ts +107 -0
- package/instanceProfile.js +107 -0
- package/instanceProfile.js.map +1 -1
- package/mount.d.ts +10 -10
- package/mount.js +10 -10
- package/mwsCredentials.d.ts +4 -4
- package/mwsCredentials.js +4 -4
- package/mwsCustomerManagedKeys.d.ts +152 -0
- package/mwsCustomerManagedKeys.js +152 -0
- package/mwsCustomerManagedKeys.js.map +1 -1
- package/mwsLogDelivery.d.ts +20 -20
- package/mwsLogDelivery.js +20 -20
- package/mwsStorageConfigurations.d.ts +5 -5
- package/mwsStorageConfigurations.js +5 -5
- package/mwsVpcEndpoint.d.ts +5 -5
- package/mwsVpcEndpoint.js +5 -5
- package/mwsWorkspaces.d.ts +20 -20
- package/mwsWorkspaces.js +20 -20
- package/package.json +2 -2
- package/recipient.d.ts +1 -1
- package/recipient.js +1 -1
package/mwsWorkspaces.d.ts
CHANGED
|
@@ -108,52 +108,52 @@ import * as outputs from "./types/output";
|
|
|
108
108
|
* const config = new pulumi.Config();
|
|
109
109
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
110
110
|
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
111
|
-
* const naming = new random.
|
|
111
|
+
* const naming = new random.RandomString("naming", {
|
|
112
112
|
* special: false,
|
|
113
113
|
* upper: false,
|
|
114
114
|
* length: 6,
|
|
115
115
|
* });
|
|
116
|
-
* const prefix = `dltp${naming.result}`;
|
|
116
|
+
* const prefix = pulumi.interpolate`dltp${naming.result}`;
|
|
117
117
|
* const _this = databricks.getAwsAssumeRolePolicy({
|
|
118
118
|
* externalId: databricksAccountId,
|
|
119
119
|
* });
|
|
120
|
-
* const crossAccountRole = new aws.
|
|
120
|
+
* const crossAccountRole = new aws.iam.Role("cross_account_role", {
|
|
121
121
|
* name: `${prefix}-crossaccount`,
|
|
122
|
-
* assumeRolePolicy: _this.json,
|
|
122
|
+
* assumeRolePolicy: _this.then(_this => _this.json),
|
|
123
123
|
* tags: tags,
|
|
124
124
|
* });
|
|
125
125
|
* const thisGetAwsCrossAccountPolicy = databricks.getAwsCrossAccountPolicy({});
|
|
126
|
-
* const
|
|
126
|
+
* const thisRolePolicy = new aws.iam.RolePolicy("this", {
|
|
127
127
|
* name: `${prefix}-policy`,
|
|
128
128
|
* role: crossAccountRole.id,
|
|
129
|
-
* policy: thisGetAwsCrossAccountPolicy.json,
|
|
129
|
+
* policy: thisGetAwsCrossAccountPolicy.then(thisGetAwsCrossAccountPolicy => thisGetAwsCrossAccountPolicy.json),
|
|
130
130
|
* });
|
|
131
131
|
* const thisMwsCredentials = new databricks.MwsCredentials("this", {
|
|
132
132
|
* accountId: databricksAccountId,
|
|
133
133
|
* credentialsName: `${prefix}-creds`,
|
|
134
134
|
* roleArn: crossAccountRole.arn,
|
|
135
135
|
* });
|
|
136
|
-
* const rootStorageBucket = new aws.
|
|
136
|
+
* const rootStorageBucket = new aws.s3.Bucket("root_storage_bucket", {
|
|
137
137
|
* bucket: `${prefix}-rootbucket`,
|
|
138
|
-
* acl:
|
|
138
|
+
* acl: aws.s3.CannedAcl.Private,
|
|
139
139
|
* forceDestroy: true,
|
|
140
140
|
* tags: tags,
|
|
141
141
|
* });
|
|
142
|
-
* const rootVersioning = new aws.
|
|
142
|
+
* const rootVersioning = new aws.s3.BucketVersioning("root_versioning", {
|
|
143
143
|
* bucket: rootStorageBucket.id,
|
|
144
|
-
* versioningConfiguration:
|
|
144
|
+
* versioningConfiguration: {
|
|
145
145
|
* status: "Disabled",
|
|
146
|
-
* }
|
|
146
|
+
* },
|
|
147
147
|
* });
|
|
148
|
-
* const
|
|
148
|
+
* const rootStorageBucketBucketServerSideEncryptionConfiguration = new aws.s3.BucketServerSideEncryptionConfiguration("root_storage_bucket", {
|
|
149
149
|
* bucket: rootStorageBucket.bucket,
|
|
150
|
-
*
|
|
151
|
-
* applyServerSideEncryptionByDefault:
|
|
150
|
+
* rules: [{
|
|
151
|
+
* applyServerSideEncryptionByDefault: {
|
|
152
152
|
* sseAlgorithm: "AES256",
|
|
153
|
-
* }
|
|
153
|
+
* },
|
|
154
154
|
* }],
|
|
155
155
|
* });
|
|
156
|
-
* const
|
|
156
|
+
* const rootStorageBucketBucketPublicAccessBlock = new aws.s3.BucketPublicAccessBlock("root_storage_bucket", {
|
|
157
157
|
* bucket: rootStorageBucket.id,
|
|
158
158
|
* blockPublicAcls: true,
|
|
159
159
|
* blockPublicPolicy: true,
|
|
@@ -162,14 +162,14 @@ import * as outputs from "./types/output";
|
|
|
162
162
|
* }, {
|
|
163
163
|
* dependsOn: [rootStorageBucket],
|
|
164
164
|
* });
|
|
165
|
-
* const thisGetAwsBucketPolicy = databricks.
|
|
165
|
+
* const thisGetAwsBucketPolicy = databricks.getAwsBucketPolicyOutput({
|
|
166
166
|
* bucket: rootStorageBucket.bucket,
|
|
167
167
|
* });
|
|
168
|
-
* const rootBucketPolicy = new aws.
|
|
168
|
+
* const rootBucketPolicy = new aws.s3.BucketPolicy("root_bucket_policy", {
|
|
169
169
|
* bucket: rootStorageBucket.id,
|
|
170
|
-
* policy: thisGetAwsBucketPolicy.json,
|
|
170
|
+
* policy: thisGetAwsBucketPolicy.apply(thisGetAwsBucketPolicy => thisGetAwsBucketPolicy.json),
|
|
171
171
|
* }, {
|
|
172
|
-
* dependsOn: [
|
|
172
|
+
* dependsOn: [rootStorageBucketBucketPublicAccessBlock],
|
|
173
173
|
* });
|
|
174
174
|
* const thisMwsStorageConfigurations = new databricks.MwsStorageConfigurations("this", {
|
|
175
175
|
* accountId: databricksAccountId,
|
package/mwsWorkspaces.js
CHANGED
|
@@ -112,52 +112,52 @@ const utilities = require("./utilities");
|
|
|
112
112
|
* const config = new pulumi.Config();
|
|
113
113
|
* // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
114
114
|
* const databricksAccountId = config.requireObject<any>("databricksAccountId");
|
|
115
|
-
* const naming = new random.
|
|
115
|
+
* const naming = new random.RandomString("naming", {
|
|
116
116
|
* special: false,
|
|
117
117
|
* upper: false,
|
|
118
118
|
* length: 6,
|
|
119
119
|
* });
|
|
120
|
-
* const prefix = `dltp${naming.result}`;
|
|
120
|
+
* const prefix = pulumi.interpolate`dltp${naming.result}`;
|
|
121
121
|
* const _this = databricks.getAwsAssumeRolePolicy({
|
|
122
122
|
* externalId: databricksAccountId,
|
|
123
123
|
* });
|
|
124
|
-
* const crossAccountRole = new aws.
|
|
124
|
+
* const crossAccountRole = new aws.iam.Role("cross_account_role", {
|
|
125
125
|
* name: `${prefix}-crossaccount`,
|
|
126
|
-
* assumeRolePolicy: _this.json,
|
|
126
|
+
* assumeRolePolicy: _this.then(_this => _this.json),
|
|
127
127
|
* tags: tags,
|
|
128
128
|
* });
|
|
129
129
|
* const thisGetAwsCrossAccountPolicy = databricks.getAwsCrossAccountPolicy({});
|
|
130
|
-
* const
|
|
130
|
+
* const thisRolePolicy = new aws.iam.RolePolicy("this", {
|
|
131
131
|
* name: `${prefix}-policy`,
|
|
132
132
|
* role: crossAccountRole.id,
|
|
133
|
-
* policy: thisGetAwsCrossAccountPolicy.json,
|
|
133
|
+
* policy: thisGetAwsCrossAccountPolicy.then(thisGetAwsCrossAccountPolicy => thisGetAwsCrossAccountPolicy.json),
|
|
134
134
|
* });
|
|
135
135
|
* const thisMwsCredentials = new databricks.MwsCredentials("this", {
|
|
136
136
|
* accountId: databricksAccountId,
|
|
137
137
|
* credentialsName: `${prefix}-creds`,
|
|
138
138
|
* roleArn: crossAccountRole.arn,
|
|
139
139
|
* });
|
|
140
|
-
* const rootStorageBucket = new aws.
|
|
140
|
+
* const rootStorageBucket = new aws.s3.Bucket("root_storage_bucket", {
|
|
141
141
|
* bucket: `${prefix}-rootbucket`,
|
|
142
|
-
* acl:
|
|
142
|
+
* acl: aws.s3.CannedAcl.Private,
|
|
143
143
|
* forceDestroy: true,
|
|
144
144
|
* tags: tags,
|
|
145
145
|
* });
|
|
146
|
-
* const rootVersioning = new aws.
|
|
146
|
+
* const rootVersioning = new aws.s3.BucketVersioning("root_versioning", {
|
|
147
147
|
* bucket: rootStorageBucket.id,
|
|
148
|
-
* versioningConfiguration:
|
|
148
|
+
* versioningConfiguration: {
|
|
149
149
|
* status: "Disabled",
|
|
150
|
-
* }
|
|
150
|
+
* },
|
|
151
151
|
* });
|
|
152
|
-
* const
|
|
152
|
+
* const rootStorageBucketBucketServerSideEncryptionConfiguration = new aws.s3.BucketServerSideEncryptionConfiguration("root_storage_bucket", {
|
|
153
153
|
* bucket: rootStorageBucket.bucket,
|
|
154
|
-
*
|
|
155
|
-
* applyServerSideEncryptionByDefault:
|
|
154
|
+
* rules: [{
|
|
155
|
+
* applyServerSideEncryptionByDefault: {
|
|
156
156
|
* sseAlgorithm: "AES256",
|
|
157
|
-
* }
|
|
157
|
+
* },
|
|
158
158
|
* }],
|
|
159
159
|
* });
|
|
160
|
-
* const
|
|
160
|
+
* const rootStorageBucketBucketPublicAccessBlock = new aws.s3.BucketPublicAccessBlock("root_storage_bucket", {
|
|
161
161
|
* bucket: rootStorageBucket.id,
|
|
162
162
|
* blockPublicAcls: true,
|
|
163
163
|
* blockPublicPolicy: true,
|
|
@@ -166,14 +166,14 @@ const utilities = require("./utilities");
|
|
|
166
166
|
* }, {
|
|
167
167
|
* dependsOn: [rootStorageBucket],
|
|
168
168
|
* });
|
|
169
|
-
* const thisGetAwsBucketPolicy = databricks.
|
|
169
|
+
* const thisGetAwsBucketPolicy = databricks.getAwsBucketPolicyOutput({
|
|
170
170
|
* bucket: rootStorageBucket.bucket,
|
|
171
171
|
* });
|
|
172
|
-
* const rootBucketPolicy = new aws.
|
|
172
|
+
* const rootBucketPolicy = new aws.s3.BucketPolicy("root_bucket_policy", {
|
|
173
173
|
* bucket: rootStorageBucket.id,
|
|
174
|
-
* policy: thisGetAwsBucketPolicy.json,
|
|
174
|
+
* policy: thisGetAwsBucketPolicy.apply(thisGetAwsBucketPolicy => thisGetAwsBucketPolicy.json),
|
|
175
175
|
* }, {
|
|
176
|
-
* dependsOn: [
|
|
176
|
+
* dependsOn: [rootStorageBucketBucketPublicAccessBlock],
|
|
177
177
|
* });
|
|
178
178
|
* const thisMwsStorageConfigurations = new databricks.MwsStorageConfigurations("this", {
|
|
179
179
|
* accountId: databricksAccountId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.91.0-alpha.1775067146",
|
|
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.91.0-alpha.1775067146"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/recipient.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import * as outputs from "./types/output";
|
|
|
22
22
|
* import * as databricks from "@pulumi/databricks";
|
|
23
23
|
* import * as random from "@pulumi/random";
|
|
24
24
|
*
|
|
25
|
-
* const db2opensharecode = new random.
|
|
25
|
+
* const db2opensharecode = new random.RandomPassword("db2opensharecode", {
|
|
26
26
|
* length: 16,
|
|
27
27
|
* special: true,
|
|
28
28
|
* });
|
package/recipient.js
CHANGED
|
@@ -26,7 +26,7 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* import * as databricks from "@pulumi/databricks";
|
|
27
27
|
* import * as random from "@pulumi/random";
|
|
28
28
|
*
|
|
29
|
-
* const db2opensharecode = new random.
|
|
29
|
+
* const db2opensharecode = new random.RandomPassword("db2opensharecode", {
|
|
30
30
|
* length: 16,
|
|
31
31
|
* special: true,
|
|
32
32
|
* });
|