@pulumi/databricks 0.4.0 → 0.4.1-alpha.1654703020
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/vars.d.ts +1 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/externalLocation.d.ts +13 -1
- package/externalLocation.js +3 -1
- package/externalLocation.js.map +1 -1
- package/getTables.d.ts +0 -14
- package/getTables.js +0 -14
- package/getTables.js.map +1 -1
- package/getViews.d.ts +61 -0
- package/getViews.js +33 -0
- package/getViews.js.map +1 -0
- package/gitCredential.d.ts +45 -0
- package/gitCredential.js +9 -0
- package/gitCredential.js.map +1 -1
- package/group.d.ts +3 -1
- package/group.js +3 -1
- package/group.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +6 -0
- package/index.js.map +1 -1
- package/job.d.ts +18 -0
- package/job.js +2 -0
- package/job.js.map +1 -1
- package/metastore.d.ts +1 -1
- package/metastore.js +1 -1
- package/metastoreAssignment.d.ts +1 -1
- package/metastoreAssignment.js +1 -1
- package/metastoreDataAccess.d.ts +1 -1
- package/metastoreDataAccess.js +1 -1
- package/mwsCustomerManagedKeys.d.ts +5 -4
- package/mwsCustomerManagedKeys.js +5 -4
- package/mwsCustomerManagedKeys.js.map +1 -1
- package/mwsLogDelivery.d.ts +1 -1
- package/mwsLogDelivery.js +1 -1
- package/mwsStorageConfigurations.d.ts +0 -23
- package/mwsStorageConfigurations.js +0 -23
- package/mwsStorageConfigurations.js.map +1 -1
- package/mwsWorkspaces.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +2 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/repo.d.ts +12 -12
- package/schema.d.ts +1 -1
- package/schema.js +1 -1
- package/servicePrincipal.d.ts +18 -1
- package/servicePrincipal.js +7 -1
- package/servicePrincipal.js.map +1 -1
- package/servicePrincipalRole.d.ts +92 -0
- package/servicePrincipalRole.js +89 -0
- package/servicePrincipalRole.js.map +1 -0
- package/sqlPermissions.d.ts +0 -27
- package/sqlPermissions.js +0 -27
- package/sqlPermissions.js.map +1 -1
- package/storageCredential.d.ts +3 -3
- package/storageCredential.js +3 -3
- package/table.d.ts +1 -1
- package/table.js +1 -1
- package/types/input.d.ts +38 -4
- package/types/output.d.ts +38 -4
- package/user.d.ts +3 -1
- package/user.js +3 -1
- package/user.js.map +1 -1
package/metastore.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* > **
|
|
3
|
+
* > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
|
|
4
4
|
*
|
|
5
5
|
* A metastore is the top-level container of objects in Unity Catalog. It stores data assets (tables and views) and the permissions that govern access to them. Databricks account admins can create metastores and assign them to Databricks workspaces in order to control which workloads use each metastore.
|
|
6
6
|
*
|
package/metastore.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Metastore = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **
|
|
9
|
+
* > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
|
|
10
10
|
*
|
|
11
11
|
* A metastore is the top-level container of objects in Unity Catalog. It stores data assets (tables and views) and the permissions that govern access to them. Databricks account admins can create metastores and assign them to Databricks workspaces in order to control which workloads use each metastore.
|
|
12
12
|
*
|
package/metastoreAssignment.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* > **
|
|
3
|
+
* > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
|
|
4
4
|
*
|
|
5
5
|
* A single databricks.Metastore can be shared across Databricks workspaces, and each linked workspace has a consistent view of the data and a single set of access policies. It is only recommended to have multiple metastores when organizations wish to have hard isolation boundaries between data (note that data cannot be easily joined/queried across metastores).
|
|
6
6
|
*
|
package/metastoreAssignment.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.MetastoreAssignment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **
|
|
9
|
+
* > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
|
|
10
10
|
*
|
|
11
11
|
* A single databricks.Metastore can be shared across Databricks workspaces, and each linked workspace has a consistent view of the data and a single set of access policies. It is only recommended to have multiple metastores when organizations wish to have hard isolation boundaries between data (note that data cannot be easily joined/queried across metastores).
|
|
12
12
|
*
|
package/metastoreDataAccess.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* > **
|
|
4
|
+
* > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
|
|
5
5
|
*
|
|
6
6
|
* Each databricks.Metastore requires an IAM role that will be assumed by Unity Catalog to access data. `databricks.MetastoreDataAccess` defines this
|
|
7
7
|
*
|
package/metastoreDataAccess.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.MetastoreDataAccess = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **
|
|
9
|
+
* > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
|
|
10
10
|
*
|
|
11
11
|
* Each databricks.Metastore requires an IAM role that will be assumed by Unity Catalog to access data. `databricks.MetastoreDataAccess` defines this
|
|
12
12
|
*
|
|
@@ -15,7 +15,8 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
15
15
|
*
|
|
16
16
|
* const config = new pulumi.Config();
|
|
17
17
|
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
18
|
-
* const
|
|
18
|
+
* const current = aws.getCallerIdentity({});
|
|
19
|
+
* const databricksManagedServicesCmk = current.then(current => aws.iam.getPolicyDocument({
|
|
19
20
|
* version: "2012-10-17",
|
|
20
21
|
* statements: [
|
|
21
22
|
* {
|
|
@@ -23,7 +24,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
23
24
|
* effect: "Allow",
|
|
24
25
|
* principals: [{
|
|
25
26
|
* type: "AWS",
|
|
26
|
-
* identifiers: [
|
|
27
|
+
* identifiers: [current.accountId],
|
|
27
28
|
* }],
|
|
28
29
|
* actions: ["kms:*"],
|
|
29
30
|
* resources: ["*"],
|
|
@@ -42,7 +43,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
42
43
|
* resources: ["*"],
|
|
43
44
|
* },
|
|
44
45
|
* ],
|
|
45
|
-
* });
|
|
46
|
+
* }));
|
|
46
47
|
* const managedServicesCustomerManagedKey = new aws.kms.Key("managedServicesCustomerManagedKey", {policy: databricksManagedServicesCmk.then(databricksManagedServicesCmk => databricksManagedServicesCmk.json)});
|
|
47
48
|
* const managedServicesCustomerManagedKeyAlias = new aws.kms.Alias("managedServicesCustomerManagedKeyAlias", {targetKeyId: managedServicesCustomerManagedKey.keyId});
|
|
48
49
|
* const managedServices = new databricks.MwsCustomerManagedKeys("managedServices", {
|
|
@@ -72,7 +73,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
72
73
|
* effect: "Allow",
|
|
73
74
|
* principals: [{
|
|
74
75
|
* type: "AWS",
|
|
75
|
-
* identifiers: [
|
|
76
|
+
* identifiers: [data.aws_caller_identity.current.account_id],
|
|
76
77
|
* }],
|
|
77
78
|
* actions: ["kms:*"],
|
|
78
79
|
* resources: ["*"],
|
|
@@ -20,7 +20,8 @@ const utilities = require("./utilities");
|
|
|
20
20
|
*
|
|
21
21
|
* const config = new pulumi.Config();
|
|
22
22
|
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
23
|
-
* const
|
|
23
|
+
* const current = aws.getCallerIdentity({});
|
|
24
|
+
* const databricksManagedServicesCmk = current.then(current => aws.iam.getPolicyDocument({
|
|
24
25
|
* version: "2012-10-17",
|
|
25
26
|
* statements: [
|
|
26
27
|
* {
|
|
@@ -28,7 +29,7 @@ const utilities = require("./utilities");
|
|
|
28
29
|
* effect: "Allow",
|
|
29
30
|
* principals: [{
|
|
30
31
|
* type: "AWS",
|
|
31
|
-
* identifiers: [
|
|
32
|
+
* identifiers: [current.accountId],
|
|
32
33
|
* }],
|
|
33
34
|
* actions: ["kms:*"],
|
|
34
35
|
* resources: ["*"],
|
|
@@ -47,7 +48,7 @@ const utilities = require("./utilities");
|
|
|
47
48
|
* resources: ["*"],
|
|
48
49
|
* },
|
|
49
50
|
* ],
|
|
50
|
-
* });
|
|
51
|
+
* }));
|
|
51
52
|
* const managedServicesCustomerManagedKey = new aws.kms.Key("managedServicesCustomerManagedKey", {policy: databricksManagedServicesCmk.then(databricksManagedServicesCmk => databricksManagedServicesCmk.json)});
|
|
52
53
|
* const managedServicesCustomerManagedKeyAlias = new aws.kms.Alias("managedServicesCustomerManagedKeyAlias", {targetKeyId: managedServicesCustomerManagedKey.keyId});
|
|
53
54
|
* const managedServices = new databricks.MwsCustomerManagedKeys("managedServices", {
|
|
@@ -77,7 +78,7 @@ const utilities = require("./utilities");
|
|
|
77
78
|
* effect: "Allow",
|
|
78
79
|
* principals: [{
|
|
79
80
|
* type: "AWS",
|
|
80
|
-
* identifiers: [
|
|
81
|
+
* identifiers: [data.aws_caller_identity.current.account_id],
|
|
81
82
|
* }],
|
|
82
83
|
* actions: ["kms:*"],
|
|
83
84
|
* resources: ["*"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mwsCustomerManagedKeys.js","sourceRoot":"","sources":["../mwsCustomerManagedKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"mwsCustomerManagedKeys.js","sourceRoot":"","sources":["../mwsCustomerManagedKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgKG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAyD7D,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,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AC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;IArFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;;AA1BL,wDAuFC;AAzEG,gBAAgB;AACO,mCAAY,GAAG,gEAAgE,CAAC"}
|
package/mwsLogDelivery.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* > **Note** This resource has an evolving API, which will change in the upcoming versions of the provider in order to simplify user experience.
|
|
4
4
|
*
|
|
5
|
-
* Make sure you have authenticated with username and password for Accounts Console. This resource configures the delivery of the two supported log types from Databricks workspaces: [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). You cannot delete a log delivery configuration, but you can disable it when you no longer need it. This fact is important because there is a limit to the number of enabled log delivery configurations that you can create for an account. You can create a maximum of two enabled
|
|
5
|
+
* Make sure you have authenticated with username and password for Accounts Console. This resource configures the delivery of the two supported log types from Databricks workspaces: [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). You cannot delete a log delivery configuration, but you can disable it when you no longer need it. This fact is important because there is a limit to the number of enabled log delivery configurations that you can create for an account. There is a limit on the number of log delivery configurations that you can create for an account. You can create a maximum of two enabled configurations that use the account level (no workspace filter) and two enabled configurations for every specific workspace (a workspaceId can occur in the workspace filter for two configurations). You cannot delete a log delivery configuration, but you can disable it. You can re-enable a disabled configuration, but the request fails if it violates the limits previously described.
|
|
6
6
|
*
|
|
7
7
|
* ## Billable Usage
|
|
8
8
|
*
|
package/mwsLogDelivery.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* > **Note** This resource has an evolving API, which will change in the upcoming versions of the provider in order to simplify user experience.
|
|
10
10
|
*
|
|
11
|
-
* Make sure you have authenticated with username and password for Accounts Console. This resource configures the delivery of the two supported log types from Databricks workspaces: [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). You cannot delete a log delivery configuration, but you can disable it when you no longer need it. This fact is important because there is a limit to the number of enabled log delivery configurations that you can create for an account. You can create a maximum of two enabled
|
|
11
|
+
* Make sure you have authenticated with username and password for Accounts Console. This resource configures the delivery of the two supported log types from Databricks workspaces: [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). You cannot delete a log delivery configuration, but you can disable it when you no longer need it. This fact is important because there is a limit to the number of enabled log delivery configurations that you can create for an account. There is a limit on the number of log delivery configurations that you can create for an account. You can create a maximum of two enabled configurations that use the account level (no workspace filter) and two enabled configurations for every specific workspace (a workspaceId can occur in the workspace filter for two configurations). You cannot delete a log delivery configuration, but you can disable it. You can re-enable a disabled configuration, but the request fails if it violates the limits previously described.
|
|
12
12
|
*
|
|
13
13
|
* ## Billable Usage
|
|
14
14
|
*
|
|
@@ -1,28 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## Example Usage
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as aws from "@pulumi/aws";
|
|
8
|
-
* import * as databricks from "@pulumi/databricks";
|
|
9
|
-
*
|
|
10
|
-
* const config = new pulumi.Config();
|
|
11
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
12
|
-
* const rootStorageBucket = new aws.s3.BucketV2("rootStorageBucket", {
|
|
13
|
-
* acl: "private",
|
|
14
|
-
* versionings: [{
|
|
15
|
-
* enabled: false,
|
|
16
|
-
* }],
|
|
17
|
-
* });
|
|
18
|
-
* const _this = new databricks.MwsStorageConfigurations("this", {
|
|
19
|
-
* accountId: databricksAccountId,
|
|
20
|
-
* storageConfigurationName: `${_var.prefix}-storage`,
|
|
21
|
-
* bucketName: rootStorageBucket.bucket,
|
|
22
|
-
* }, {
|
|
23
|
-
* provider: databricks.mws,
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
3
|
* ## Related Resources
|
|
27
4
|
*
|
|
28
5
|
* The following resources are used in the same context:
|
|
@@ -6,29 +6,6 @@ exports.MwsStorageConfigurations = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as aws from "@pulumi/aws";
|
|
14
|
-
* import * as databricks from "@pulumi/databricks";
|
|
15
|
-
*
|
|
16
|
-
* const config = new pulumi.Config();
|
|
17
|
-
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
18
|
-
* const rootStorageBucket = new aws.s3.BucketV2("rootStorageBucket", {
|
|
19
|
-
* acl: "private",
|
|
20
|
-
* versionings: [{
|
|
21
|
-
* enabled: false,
|
|
22
|
-
* }],
|
|
23
|
-
* });
|
|
24
|
-
* const _this = new databricks.MwsStorageConfigurations("this", {
|
|
25
|
-
* accountId: databricksAccountId,
|
|
26
|
-
* storageConfigurationName: `${_var.prefix}-storage`,
|
|
27
|
-
* bucketName: rootStorageBucket.bucket,
|
|
28
|
-
* }, {
|
|
29
|
-
* provider: databricks.mws,
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
9
|
* ## Related Resources
|
|
33
10
|
*
|
|
34
11
|
* The following resources are used in the same context:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mwsStorageConfigurations.js","sourceRoot":"","sources":["../mwsStorageConfigurations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"mwsStorageConfigurations.js","sourceRoot":"","sources":["../mwsStorageConfigurations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAsD/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,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I,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;IAlFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DAoFC;AAtEG,gBAAgB;AACO,qCAAY,GAAG,oEAAoE,CAAC"}
|
package/mwsWorkspaces.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare class MwsWorkspaces extends pulumi.CustomResource {
|
|
|
41
41
|
*/
|
|
42
42
|
readonly customerManagedKeyId: pulumi.Output<string | undefined>;
|
|
43
43
|
/**
|
|
44
|
-
* part of URL
|
|
44
|
+
* part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
|
|
45
45
|
*/
|
|
46
46
|
readonly deploymentName: pulumi.Output<string | undefined>;
|
|
47
47
|
readonly externalCustomerInfo: pulumi.Output<outputs.MwsWorkspacesExternalCustomerInfo | undefined>;
|
|
@@ -114,7 +114,7 @@ export interface MwsWorkspacesState {
|
|
|
114
114
|
*/
|
|
115
115
|
customerManagedKeyId?: pulumi.Input<string>;
|
|
116
116
|
/**
|
|
117
|
-
* part of URL
|
|
117
|
+
* part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
|
|
118
118
|
*/
|
|
119
119
|
deploymentName?: pulumi.Input<string>;
|
|
120
120
|
externalCustomerInfo?: pulumi.Input<inputs.MwsWorkspacesExternalCustomerInfo>;
|
|
@@ -179,7 +179,7 @@ export interface MwsWorkspacesArgs {
|
|
|
179
179
|
*/
|
|
180
180
|
customerManagedKeyId?: pulumi.Input<string>;
|
|
181
181
|
/**
|
|
182
|
-
* part of URL
|
|
182
|
+
* part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
|
|
183
183
|
*/
|
|
184
184
|
deploymentName?: pulumi.Input<string>;
|
|
185
185
|
externalCustomerInfo?: pulumi.Input<inputs.MwsWorkspacesExternalCustomerInfo>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "v0.4.
|
|
3
|
+
"version": "v0.4.1-alpha.1654703020+d4944e28",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource databricks v0.4.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource databricks v0.4.1-alpha.1654703020+d4944e28"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "v0.4.
|
|
3
|
+
"version": "v0.4.1-alpha.1654703020+d4944e28",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource databricks v0.4.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource databricks v0.4.1-alpha.1654703020+d4944e28"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/provider.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
19
19
|
readonly azureTenantId: pulumi.Output<string | undefined>;
|
|
20
20
|
readonly azureWorkspaceResourceId: pulumi.Output<string | undefined>;
|
|
21
21
|
readonly configFile: pulumi.Output<string | undefined>;
|
|
22
|
+
readonly googleCredentials: pulumi.Output<string | undefined>;
|
|
22
23
|
readonly googleServiceAccount: pulumi.Output<string | undefined>;
|
|
23
24
|
readonly host: pulumi.Output<string | undefined>;
|
|
24
25
|
readonly password: pulumi.Output<string | undefined>;
|
|
@@ -49,6 +50,7 @@ export interface ProviderArgs {
|
|
|
49
50
|
configFile?: pulumi.Input<string>;
|
|
50
51
|
debugHeaders?: pulumi.Input<boolean>;
|
|
51
52
|
debugTruncateBytes?: pulumi.Input<number>;
|
|
53
|
+
googleCredentials?: pulumi.Input<string>;
|
|
52
54
|
googleServiceAccount?: pulumi.Input<string>;
|
|
53
55
|
host?: pulumi.Input<string>;
|
|
54
56
|
httpTimeoutSeconds?: pulumi.Input<number>;
|
package/provider.js
CHANGED
|
@@ -34,6 +34,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
34
34
|
resourceInputs["configFile"] = args ? args.configFile : undefined;
|
|
35
35
|
resourceInputs["debugHeaders"] = pulumi.output(args ? args.debugHeaders : undefined).apply(JSON.stringify);
|
|
36
36
|
resourceInputs["debugTruncateBytes"] = pulumi.output(args ? args.debugTruncateBytes : undefined).apply(JSON.stringify);
|
|
37
|
+
resourceInputs["googleCredentials"] = args ? args.googleCredentials : undefined;
|
|
37
38
|
resourceInputs["googleServiceAccount"] = args ? args.googleServiceAccount : undefined;
|
|
38
39
|
resourceInputs["host"] = args ? args.host : undefined;
|
|
39
40
|
resourceInputs["httpTimeoutSeconds"] = pulumi.output(args ? args.httpTimeoutSeconds : undefined).apply(JSON.stringify);
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IA+BjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC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AAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA9DD;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BAmEC;AAlEG,gBAAgB;AACO,qBAAY,GAAG,YAAY,CAAC"}
|
package/repo.d.ts
CHANGED
|
@@ -33,19 +33,19 @@ export declare class Repo extends pulumi.CustomResource {
|
|
|
33
33
|
*/
|
|
34
34
|
readonly commitHash: pulumi.Output<string>;
|
|
35
35
|
/**
|
|
36
|
-
* case insensitive name of the Git provider. Following values are supported right now (
|
|
36
|
+
* case insensitive name of the Git provider. Following values are supported right now (could be a subject for a change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`, , `awsCodeCommit`.
|
|
37
37
|
*/
|
|
38
38
|
readonly gitProvider: pulumi.Output<string>;
|
|
39
39
|
/**
|
|
40
|
-
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If value changes, repo is re-created
|
|
40
|
+
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If value changes, repo is re-created.
|
|
41
41
|
*/
|
|
42
42
|
readonly path: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
44
|
-
* name of the tag for initial checkout. Conflicts with `branch
|
|
44
|
+
* name of the tag for initial checkout. Conflicts with `branch`.
|
|
45
45
|
*/
|
|
46
46
|
readonly tag: pulumi.Output<string | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
* The URL of the Git Repository to clone from. If value changes, repo is re-created
|
|
48
|
+
* The URL of the Git Repository to clone from. If value changes, repo is re-created.
|
|
49
49
|
*/
|
|
50
50
|
readonly url: pulumi.Output<string>;
|
|
51
51
|
/**
|
|
@@ -70,19 +70,19 @@ export interface RepoState {
|
|
|
70
70
|
*/
|
|
71
71
|
commitHash?: pulumi.Input<string>;
|
|
72
72
|
/**
|
|
73
|
-
* case insensitive name of the Git provider. Following values are supported right now (
|
|
73
|
+
* case insensitive name of the Git provider. Following values are supported right now (could be a subject for a change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`, , `awsCodeCommit`.
|
|
74
74
|
*/
|
|
75
75
|
gitProvider?: pulumi.Input<string>;
|
|
76
76
|
/**
|
|
77
|
-
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If value changes, repo is re-created
|
|
77
|
+
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If value changes, repo is re-created.
|
|
78
78
|
*/
|
|
79
79
|
path?: pulumi.Input<string>;
|
|
80
80
|
/**
|
|
81
|
-
* name of the tag for initial checkout. Conflicts with `branch
|
|
81
|
+
* name of the tag for initial checkout. Conflicts with `branch`.
|
|
82
82
|
*/
|
|
83
83
|
tag?: pulumi.Input<string>;
|
|
84
84
|
/**
|
|
85
|
-
* The URL of the Git Repository to clone from. If value changes, repo is re-created
|
|
85
|
+
* The URL of the Git Repository to clone from. If value changes, repo is re-created.
|
|
86
86
|
*/
|
|
87
87
|
url?: pulumi.Input<string>;
|
|
88
88
|
}
|
|
@@ -99,19 +99,19 @@ export interface RepoArgs {
|
|
|
99
99
|
*/
|
|
100
100
|
commitHash?: pulumi.Input<string>;
|
|
101
101
|
/**
|
|
102
|
-
* case insensitive name of the Git provider. Following values are supported right now (
|
|
102
|
+
* case insensitive name of the Git provider. Following values are supported right now (could be a subject for a change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`, , `awsCodeCommit`.
|
|
103
103
|
*/
|
|
104
104
|
gitProvider?: pulumi.Input<string>;
|
|
105
105
|
/**
|
|
106
|
-
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If value changes, repo is re-created
|
|
106
|
+
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If value changes, repo is re-created.
|
|
107
107
|
*/
|
|
108
108
|
path?: pulumi.Input<string>;
|
|
109
109
|
/**
|
|
110
|
-
* name of the tag for initial checkout. Conflicts with `branch
|
|
110
|
+
* name of the tag for initial checkout. Conflicts with `branch`.
|
|
111
111
|
*/
|
|
112
112
|
tag?: pulumi.Input<string>;
|
|
113
113
|
/**
|
|
114
|
-
* The URL of the Git Repository to clone from. If value changes, repo is re-created
|
|
114
|
+
* The URL of the Git Repository to clone from. If value changes, repo is re-created.
|
|
115
115
|
*/
|
|
116
116
|
url: pulumi.Input<string>;
|
|
117
117
|
}
|
package/schema.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* > **
|
|
3
|
+
* > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
|
|
4
4
|
*
|
|
5
5
|
* Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, Databases (also called Schemas), and Tables / Views.
|
|
6
6
|
*
|
package/schema.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Schema = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **
|
|
9
|
+
* > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
|
|
10
10
|
*
|
|
11
11
|
* Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, Databases (also called Schemas), and Tables / Views.
|
|
12
12
|
*
|
package/servicePrincipal.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group
|
|
3
|
+
* Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group in Databricks workspace or account.
|
|
4
|
+
*
|
|
5
|
+
* To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments
|
|
4
6
|
*
|
|
5
7
|
* ## Related Resources
|
|
6
8
|
*
|
|
@@ -61,6 +63,11 @@ export declare class ServicePrincipal extends pulumi.CustomResource {
|
|
|
61
63
|
* This is an alias for the service principal and can be the full name of the service principal.
|
|
62
64
|
*/
|
|
63
65
|
readonly displayName: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* ID of the service principal in an external identity provider.
|
|
68
|
+
*/
|
|
69
|
+
readonly externalId: pulumi.Output<string | undefined>;
|
|
70
|
+
readonly force: pulumi.Output<boolean | undefined>;
|
|
64
71
|
/**
|
|
65
72
|
* This is a field to allow the group to have access to Databricks Workspace.
|
|
66
73
|
*/
|
|
@@ -102,6 +109,11 @@ export interface ServicePrincipalState {
|
|
|
102
109
|
* This is an alias for the service principal and can be the full name of the service principal.
|
|
103
110
|
*/
|
|
104
111
|
displayName?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* ID of the service principal in an external identity provider.
|
|
114
|
+
*/
|
|
115
|
+
externalId?: pulumi.Input<string>;
|
|
116
|
+
force?: pulumi.Input<boolean>;
|
|
105
117
|
/**
|
|
106
118
|
* This is a field to allow the group to have access to Databricks Workspace.
|
|
107
119
|
*/
|
|
@@ -135,6 +147,11 @@ export interface ServicePrincipalArgs {
|
|
|
135
147
|
* This is an alias for the service principal and can be the full name of the service principal.
|
|
136
148
|
*/
|
|
137
149
|
displayName?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* ID of the service principal in an external identity provider.
|
|
152
|
+
*/
|
|
153
|
+
externalId?: pulumi.Input<string>;
|
|
154
|
+
force?: pulumi.Input<boolean>;
|
|
138
155
|
/**
|
|
139
156
|
* This is a field to allow the group to have access to Databricks Workspace.
|
|
140
157
|
*/
|
package/servicePrincipal.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.ServicePrincipal = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group
|
|
9
|
+
* Directly manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group in Databricks workspace or account.
|
|
10
|
+
*
|
|
11
|
+
* To create service principals in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments
|
|
10
12
|
*
|
|
11
13
|
* ## Related Resources
|
|
12
14
|
*
|
|
@@ -39,6 +41,8 @@ class ServicePrincipal extends pulumi.CustomResource {
|
|
|
39
41
|
resourceInputs["applicationId"] = state ? state.applicationId : undefined;
|
|
40
42
|
resourceInputs["databricksSqlAccess"] = state ? state.databricksSqlAccess : undefined;
|
|
41
43
|
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
44
|
+
resourceInputs["externalId"] = state ? state.externalId : undefined;
|
|
45
|
+
resourceInputs["force"] = state ? state.force : undefined;
|
|
42
46
|
resourceInputs["workspaceAccess"] = state ? state.workspaceAccess : undefined;
|
|
43
47
|
}
|
|
44
48
|
else {
|
|
@@ -49,6 +53,8 @@ class ServicePrincipal extends pulumi.CustomResource {
|
|
|
49
53
|
resourceInputs["applicationId"] = args ? args.applicationId : undefined;
|
|
50
54
|
resourceInputs["databricksSqlAccess"] = args ? args.databricksSqlAccess : undefined;
|
|
51
55
|
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
56
|
+
resourceInputs["externalId"] = args ? args.externalId : undefined;
|
|
57
|
+
resourceInputs["force"] = args ? args.force : undefined;
|
|
52
58
|
resourceInputs["workspaceAccess"] = args ? args.workspaceAccess : undefined;
|
|
53
59
|
}
|
|
54
60
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/servicePrincipal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"servicePrincipal.js","sourceRoot":"","sources":["../servicePrincipal.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"servicePrincipal.js","sourceRoot":"","sources":["../servicePrincipal.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAsEvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IA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