From 515cfaa783906cb3714613fef893f24130cbb28b Mon Sep 17 00:00:00 2001 From: Team Terraform CDK Date: Tue, 11 Oct 2022 03:49:23 +0000 Subject: [PATCH] chore: upgrade provider --- API.md | 898 ++++++++++++++++++ package.json | 2 +- src/aws-s3-mount/index.ts | 2 +- src/azure-adls-gen1-mount/index.ts | 2 +- src/azure-adls-gen2-mount/index.ts | 2 +- src/azure-blob-mount/index.ts | 2 +- src/catalog/index.ts | 2 +- src/cluster-policy/index.ts | 2 +- src/cluster/index.ts | 2 +- .../index.ts | 2 +- .../index.ts | 2 +- .../index.ts | 2 +- src/data-databricks-catalogs/index.ts | 2 +- src/data-databricks-cluster/index.ts | 2 +- src/data-databricks-clusters/index.ts | 2 +- src/data-databricks-current-user/index.ts | 2 +- src/data-databricks-dbfs-file-paths/index.ts | 2 +- src/data-databricks-dbfs-file/index.ts | 2 +- src/data-databricks-group/index.ts | 2 +- src/data-databricks-job/index.ts | 2 +- src/data-databricks-jobs/index.ts | 2 +- src/data-databricks-mws-workspaces/index.ts | 2 +- src/data-databricks-node-type/index.ts | 2 +- src/data-databricks-notebook-paths/index.ts | 2 +- src/data-databricks-notebook/index.ts | 2 +- src/data-databricks-schemas/index.ts | 2 +- .../index.ts | 2 +- .../index.ts | 2 +- src/data-databricks-spark-version/index.ts | 2 +- src/data-databricks-sql-warehouse/index.ts | 2 +- src/data-databricks-sql-warehouses/index.ts | 2 +- src/data-databricks-tables/index.ts | 2 +- src/data-databricks-user/index.ts | 2 +- src/data-databricks-views/index.ts | 2 +- src/data-databricks-zones/index.ts | 2 +- src/dbfs-file/index.ts | 2 +- src/directory/index.ts | 2 +- src/entitlements/index.ts | 2 +- src/external-location/index.ts | 2 +- src/git-credential/index.ts | 2 +- src/global-init-script/index.ts | 2 +- src/grants/index.ts | 24 +- src/group-instance-profile/index.ts | 2 +- src/group-member/index.ts | 2 +- src/group-role/index.ts | 2 +- src/group/index.ts | 2 +- src/index.ts | 1 + src/instance-pool/index.ts | 2 +- src/instance-profile/index.ts | 2 +- src/ip-access-list/index.ts | 2 +- src/job/index.ts | 2 +- src/library/index.ts | 2 +- src/metastore-assignment/index.ts | 2 +- src/metastore-data-access/index.ts | 2 +- src/metastore/index.ts | 2 +- src/mlflow-experiment/index.ts | 2 +- src/mlflow-model/index.ts | 2 +- src/mlflow-webhook/index.ts | 2 +- src/mount/index.ts | 2 +- src/mws-credentials/index.ts | 2 +- src/mws-customer-managed-keys/index.ts | 2 +- src/mws-log-delivery/index.ts | 2 +- src/mws-networks/index.ts | 2 +- src/mws-permission-assignment/index.ts | 2 +- src/mws-private-access-settings/index.ts | 2 +- src/mws-storage-configurations/index.ts | 2 +- src/mws-vpc-endpoint/index.ts | 2 +- src/mws-workspaces/index.ts | 2 +- src/notebook/index.ts | 2 +- src/obo-token/index.ts | 2 +- src/permission-assignment/index.ts | 2 +- src/permissions/index.ts | 2 +- src/pipeline/index.ts | 2 +- src/provider/index.ts | 68 +- src/recipient/index.ts | 2 +- src/repo/index.ts | 2 +- src/schema/index.ts | 2 +- src/secret-acl/index.ts | 2 +- src/secret-scope/index.ts | 2 +- src/secret/index.ts | 2 +- src/service-principal-role/index.ts | 2 +- src/service-principal-secret/README.md | 3 + src/service-principal-secret/index.ts | 151 +++ src/service-principal/index.ts | 2 +- src/sql-dashboard/index.ts | 2 +- src/sql-endpoint/index.ts | 2 +- src/sql-global-config/index.ts | 2 +- src/sql-permissions/index.ts | 2 +- src/sql-query/index.ts | 2 +- src/sql-visualization/index.ts | 2 +- src/sql-widget/index.ts | 2 +- src/storage-credential/index.ts | 2 +- src/table/index.ts | 2 +- src/token/index.ts | 2 +- src/user-instance-profile/index.ts | 2 +- src/user-role/index.ts | 2 +- src/user/index.ts | 2 +- src/version.json | 2 +- src/workspace-conf/index.ts | 2 +- 99 files changed, 1236 insertions(+), 95 deletions(-) create mode 100644 src/service-principal-secret/README.md create mode 100644 src/service-principal-secret/index.ts diff --git a/API.md b/API.md index 4c73cc256..5371d8f82 100644 --- a/API.md +++ b/API.md @@ -5646,6 +5646,8 @@ Must be unique amongst siblings in the same scope | resetAzureTenantId | *No description.* | | resetAzureUseMsi | *No description.* | | resetAzureWorkspaceResourceId | *No description.* | +| resetClientId | *No description.* | +| resetClientSecret | *No description.* | | resetConfigFile | *No description.* | | resetDebugHeaders | *No description.* | | resetDebugTruncateBytes | *No description.* | @@ -5658,6 +5660,7 @@ Must be unique amongst siblings in the same scope | resetRateLimit | *No description.* | | resetSkipVerify | *No description.* | | resetToken | *No description.* | +| resetTokenEndpoint | *No description.* | | resetUsername | *No description.* | --- @@ -5786,6 +5789,18 @@ public resetAzureUseMsi(): void public resetAzureWorkspaceResourceId(): void ``` +##### `resetClientId` + +```typescript +public resetClientId(): void +``` + +##### `resetClientSecret` + +```typescript +public resetClientSecret(): void +``` + ##### `resetConfigFile` ```typescript @@ -5858,6 +5873,12 @@ public resetSkipVerify(): void public resetToken(): void ``` +##### `resetTokenEndpoint` + +```typescript +public resetTokenEndpoint(): void +``` + ##### `resetUsername` ```typescript @@ -5927,6 +5948,8 @@ Any object. | azureTenantIdInput | string | *No description.* | | azureUseMsiInput | boolean \| cdktf.IResolvable | *No description.* | | azureWorkspaceResourceIdInput | string | *No description.* | +| clientIdInput | string | *No description.* | +| clientSecretInput | string | *No description.* | | configFileInput | string | *No description.* | | debugHeadersInput | boolean \| cdktf.IResolvable | *No description.* | | debugTruncateBytesInput | number | *No description.* | @@ -5938,6 +5961,7 @@ Any object. | profileInput | string | *No description.* | | rateLimitInput | number | *No description.* | | skipVerifyInput | boolean \| cdktf.IResolvable | *No description.* | +| tokenEndpointInput | string | *No description.* | | tokenInput | string | *No description.* | | usernameInput | string | *No description.* | | accountId | string | *No description.* | @@ -5949,6 +5973,8 @@ Any object. | azureTenantId | string | *No description.* | | azureUseMsi | boolean \| cdktf.IResolvable | *No description.* | | azureWorkspaceResourceId | string | *No description.* | +| clientId | string | *No description.* | +| clientSecret | string | *No description.* | | configFile | string | *No description.* | | debugHeaders | boolean \| cdktf.IResolvable | *No description.* | | debugTruncateBytes | number | *No description.* | @@ -5961,6 +5987,7 @@ Any object. | rateLimit | number | *No description.* | | skipVerify | boolean \| cdktf.IResolvable | *No description.* | | token | string | *No description.* | +| tokenEndpoint | string | *No description.* | | username | string | *No description.* | --- @@ -6157,6 +6184,26 @@ public readonly azureWorkspaceResourceIdInput: string; --- +##### `clientIdInput`Optional + +```typescript +public readonly clientIdInput: string; +``` + +- *Type:* string + +--- + +##### `clientSecretInput`Optional + +```typescript +public readonly clientSecretInput: string; +``` + +- *Type:* string + +--- + ##### `configFileInput`Optional ```typescript @@ -6267,6 +6314,16 @@ public readonly skipVerifyInput: boolean | IResolvable; --- +##### `tokenEndpointInput`Optional + +```typescript +public readonly tokenEndpointInput: string; +``` + +- *Type:* string + +--- + ##### `tokenInput`Optional ```typescript @@ -6377,6 +6434,26 @@ public readonly azureWorkspaceResourceId: string; --- +##### `clientId`Optional + +```typescript +public readonly clientId: string; +``` + +- *Type:* string + +--- + +##### `clientSecret`Optional + +```typescript +public readonly clientSecret: string; +``` + +- *Type:* string + +--- + ##### `configFile`Optional ```typescript @@ -6497,6 +6574,16 @@ public readonly token: string; --- +##### `tokenEndpoint`Optional + +```typescript +public readonly tokenEndpoint: string; +``` + +- *Type:* string + +--- + ##### `username`Optional ```typescript @@ -26010,6 +26097,7 @@ Must be unique amongst siblings in the same scope | resetExternalLocation | *No description.* | | resetFunction | *No description.* | | resetId | *No description.* | +| resetMaterializedView | *No description.* | | resetMetastore | *No description.* | | resetSchema | *No description.* | | resetStorageCredential | *No description.* | @@ -26238,6 +26326,12 @@ public resetFunction(): void public resetId(): void ``` +##### `resetMaterializedView` + +```typescript +public resetMaterializedView(): void +``` + ##### `resetMetastore` ```typescript @@ -26332,6 +26426,7 @@ Any object. | functionInput | string | *No description.* | | grantInput | cdktf.IResolvable \| @cdktf/provider-databricks.grants.GrantsGrant[] | *No description.* | | idInput | string | *No description.* | +| materializedViewInput | string | *No description.* | | metastoreInput | string | *No description.* | | schemaInput | string | *No description.* | | storageCredentialInput | string | *No description.* | @@ -26341,6 +26436,7 @@ Any object. | externalLocation | string | *No description.* | | function | string | *No description.* | | id | string | *No description.* | +| materializedView | string | *No description.* | | metastore | string | *No description.* | | schema | string | *No description.* | | storageCredential | string | *No description.* | @@ -26551,6 +26647,16 @@ public readonly idInput: string; --- +##### `materializedViewInput`Optional + +```typescript +public readonly materializedViewInput: string; +``` + +- *Type:* string + +--- + ##### `metastoreInput`Optional ```typescript @@ -26641,6 +26747,16 @@ public readonly id: string; --- +##### `materializedView`Required + +```typescript +public readonly materializedView: string; +``` + +- *Type:* string + +--- + ##### `metastore`Required ```typescript @@ -54514,6 +54630,587 @@ public readonly tfResourceType: string; --- +### ServicePrincipalSecret + +Represents a {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret databricks_service_principal_secret}. + +#### Initializers + +```typescript +import { servicePrincipalSecret } from '@cdktf/provider-databricks' + +new servicePrincipalSecret.ServicePrincipalSecret(scope: Construct, id: string, config: ServicePrincipalSecretConfig) +``` + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| scope | constructs.Construct | The scope in which to define this construct. | +| id | string | The scoped construct ID. | +| config | @cdktf/provider-databricks.servicePrincipalSecret.ServicePrincipalSecretConfig | *No description.* | + +--- + +##### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +##### `id`Required + +- *Type:* string + +The scoped construct ID. + +Must be unique amongst siblings in the same scope + +--- + +##### `config`Required + +- *Type:* @cdktf/provider-databricks.servicePrincipalSecret.ServicePrincipalSecretConfig + +--- + +#### Methods + +| **Name** | **Description** | +| --- | --- | +| toString | Returns a string representation of this construct. | +| addOverride | *No description.* | +| overrideLogicalId | Overrides the auto-generated logical ID with a specific ID. | +| resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | +| toMetadata | *No description.* | +| toTerraform | Adds this resource to the terraform JSON output. | +| getAnyMapAttribute | *No description.* | +| getBooleanAttribute | *No description.* | +| getBooleanMapAttribute | *No description.* | +| getListAttribute | *No description.* | +| getNumberAttribute | *No description.* | +| getNumberListAttribute | *No description.* | +| getNumberMapAttribute | *No description.* | +| getStringAttribute | *No description.* | +| getStringMapAttribute | *No description.* | +| interpolationForAttribute | *No description.* | +| resetId | *No description.* | +| resetSecret | *No description.* | +| resetStatus | *No description.* | + +--- + +##### `toString` + +```typescript +public toString(): string +``` + +Returns a string representation of this construct. + +##### `addOverride` + +```typescript +public addOverride(path: string, value: any): void +``` + +###### `path`Required + +- *Type:* string + +--- + +###### `value`Required + +- *Type:* any + +--- + +##### `overrideLogicalId` + +```typescript +public overrideLogicalId(newLogicalId: string): void +``` + +Overrides the auto-generated logical ID with a specific ID. + +###### `newLogicalId`Required + +- *Type:* string + +The new logical ID to use for this stack element. + +--- + +##### `resetOverrideLogicalId` + +```typescript +public resetOverrideLogicalId(): void +``` + +Resets a previously passed logical Id to use the auto-generated logical id again. + +##### `toMetadata` + +```typescript +public toMetadata(): any +``` + +##### `toTerraform` + +```typescript +public toTerraform(): any +``` + +Adds this resource to the terraform JSON output. + +##### `getAnyMapAttribute` + +```typescript +public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanAttribute` + +```typescript +public getBooleanAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getBooleanMapAttribute` + +```typescript +public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getListAttribute` + +```typescript +public getListAttribute(terraformAttribute: string): string[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberAttribute` + +```typescript +public getNumberAttribute(terraformAttribute: string): number +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberListAttribute` + +```typescript +public getNumberListAttribute(terraformAttribute: string): number[] +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getNumberMapAttribute` + +```typescript +public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringAttribute` + +```typescript +public getStringAttribute(terraformAttribute: string): string +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `getStringMapAttribute` + +```typescript +public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string} +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `interpolationForAttribute` + +```typescript +public interpolationForAttribute(terraformAttribute: string): IResolvable +``` + +###### `terraformAttribute`Required + +- *Type:* string + +--- + +##### `resetId` + +```typescript +public resetId(): void +``` + +##### `resetSecret` + +```typescript +public resetSecret(): void +``` + +##### `resetStatus` + +```typescript +public resetStatus(): void +``` + +#### Static Functions + +| **Name** | **Description** | +| --- | --- | +| isConstruct | Checks if `x` is a construct. | + +--- + +##### `isConstruct` + +```typescript +import { servicePrincipalSecret } from '@cdktf/provider-databricks' + +servicePrincipalSecret.ServicePrincipalSecret.isConstruct(x: any) +``` + +Checks if `x` is a construct. + +Use this method instead of `instanceof` to properly detect `Construct` +instances, even when the construct library is symlinked. + +Explanation: in JavaScript, multiple copies of the `constructs` library on +disk are seen as independent, completely different libraries. As a +consequence, the class `Construct` in each copy of the `constructs` library +is seen as a different class, and an instance of one class will not test as +`instanceof` the other class. `npm install` will not create installations +like this, but users may manually symlink construct libraries together or +use a monorepo tool: in those cases, multiple copies of the `constructs` +library can be accidentally installed, and `instanceof` will behave +unpredictably. It is safest to avoid using `instanceof`, and using +this type-testing method instead. + +###### `x`Required + +- *Type:* any + +Any object. + +--- + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| node | constructs.Node | The tree node. | +| cdktfStack | cdktf.TerraformStack | *No description.* | +| fqn | string | *No description.* | +| friendlyUniqueId | string | *No description.* | +| terraformMetaArguments | {[ key: string ]: any} | *No description.* | +| terraformResourceType | string | *No description.* | +| terraformGeneratorMetadata | cdktf.TerraformProviderGeneratorMetadata | *No description.* | +| connection | cdktf.SSHProvisionerConnection \| cdktf.WinrmProvisionerConnection | *No description.* | +| count | number | *No description.* | +| dependsOn | string[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | +| idInput | string | *No description.* | +| secretInput | string | *No description.* | +| servicePrincipalIdInput | string | *No description.* | +| statusInput | string | *No description.* | +| id | string | *No description.* | +| secret | string | *No description.* | +| servicePrincipalId | string | *No description.* | +| status | string | *No description.* | + +--- + +##### `node`Required + +```typescript +public readonly node: Node; +``` + +- *Type:* constructs.Node + +The tree node. + +--- + +##### `cdktfStack`Required + +```typescript +public readonly cdktfStack: TerraformStack; +``` + +- *Type:* cdktf.TerraformStack + +--- + +##### `fqn`Required + +```typescript +public readonly fqn: string; +``` + +- *Type:* string + +--- + +##### `friendlyUniqueId`Required + +```typescript +public readonly friendlyUniqueId: string; +``` + +- *Type:* string + +--- + +##### `terraformMetaArguments`Required + +```typescript +public readonly terraformMetaArguments: {[ key: string ]: any}; +``` + +- *Type:* {[ key: string ]: any} + +--- + +##### `terraformResourceType`Required + +```typescript +public readonly terraformResourceType: string; +``` + +- *Type:* string + +--- + +##### `terraformGeneratorMetadata`Optional + +```typescript +public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata; +``` + +- *Type:* cdktf.TerraformProviderGeneratorMetadata + +--- + +##### `connection`Optional + +```typescript +public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection; +``` + +- *Type:* cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: string[]; +``` + +- *Type:* string[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `provisioners`Optional + +```typescript +public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[]; +``` + +- *Type:* cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] + +--- + +##### `idInput`Optional + +```typescript +public readonly idInput: string; +``` + +- *Type:* string + +--- + +##### `secretInput`Optional + +```typescript +public readonly secretInput: string; +``` + +- *Type:* string + +--- + +##### `servicePrincipalIdInput`Optional + +```typescript +public readonly servicePrincipalIdInput: string; +``` + +- *Type:* string + +--- + +##### `statusInput`Optional + +```typescript +public readonly statusInput: string; +``` + +- *Type:* string + +--- + +##### `id`Required + +```typescript +public readonly id: string; +``` + +- *Type:* string + +--- + +##### `secret`Required + +```typescript +public readonly secret: string; +``` + +- *Type:* string + +--- + +##### `servicePrincipalId`Required + +```typescript +public readonly servicePrincipalId: string; +``` + +- *Type:* string + +--- + +##### `status`Required + +```typescript +public readonly status: string; +``` + +- *Type:* string + +--- + +#### Constants + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| tfResourceType | string | *No description.* | + +--- + +##### `tfResourceType`Required + +```typescript +public readonly tfResourceType: string; +``` + +- *Type:* string + +--- + ### SqlDashboard Represents a {@link https://www.terraform.io/docs/providers/databricks/r/sql_dashboard databricks_sql_dashboard}. @@ -67169,6 +67866,8 @@ const databricksProviderConfig: provider.DatabricksProviderConfig = { ... } | azureTenantId | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#azure_tenant_id DatabricksProvider#azure_tenant_id}. | | azureUseMsi | boolean \| cdktf.IResolvable | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#azure_use_msi DatabricksProvider#azure_use_msi}. | | azureWorkspaceResourceId | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#azure_workspace_resource_id DatabricksProvider#azure_workspace_resource_id}. | +| clientId | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#client_id DatabricksProvider#client_id}. | +| clientSecret | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#client_secret DatabricksProvider#client_secret}. | | configFile | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#config_file DatabricksProvider#config_file}. | | debugHeaders | boolean \| cdktf.IResolvable | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#debug_headers DatabricksProvider#debug_headers}. | | debugTruncateBytes | number | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#debug_truncate_bytes DatabricksProvider#debug_truncate_bytes}. | @@ -67181,6 +67880,7 @@ const databricksProviderConfig: provider.DatabricksProviderConfig = { ... } | rateLimit | number | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#rate_limit DatabricksProvider#rate_limit}. | | skipVerify | boolean \| cdktf.IResolvable | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#skip_verify DatabricksProvider#skip_verify}. | | token | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#token DatabricksProvider#token}. | +| tokenEndpoint | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#token_endpoint DatabricksProvider#token_endpoint}. | | username | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#username DatabricksProvider#username}. | --- @@ -67307,6 +68007,30 @@ Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/datab --- +##### `clientId`Optional + +```typescript +public readonly clientId: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#client_id DatabricksProvider#client_id}. + +--- + +##### `clientSecret`Optional + +```typescript +public readonly clientSecret: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#client_secret DatabricksProvider#client_secret}. + +--- + ##### `configFile`Optional ```typescript @@ -67451,6 +68175,18 @@ Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/datab --- +##### `tokenEndpoint`Optional + +```typescript +public readonly tokenEndpoint: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#token_endpoint DatabricksProvider#token_endpoint}. + +--- + ##### `username`Optional ```typescript @@ -81099,6 +81835,7 @@ const grantsConfig: grants.GrantsConfig = { ... } | externalLocation | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/grants#external_location Grants#external_location}. | | function | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/grants#function Grants#function}. | | id | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/grants#id Grants#id}. | +| materializedView | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/grants#materialized_view Grants#materialized_view}. | | metastore | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/grants#metastore Grants#metastore}. | | schema | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/grants#schema Grants#schema}. | | storageCredential | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/grants#storage_credential Grants#storage_credential}. | @@ -81242,6 +81979,18 @@ If you experience problems setting this value it might not be settable. Please t --- +##### `materializedView`Optional + +```typescript +public readonly materializedView: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/grants#materialized_view Grants#materialized_view}. + +--- + ##### `metastore`Optional ```typescript @@ -98749,6 +99498,155 @@ If you experience problems setting this value it might not be settable. Please t --- +### ServicePrincipalSecretConfig + +#### Initializer + +```typescript +import { servicePrincipalSecret } from '@cdktf/provider-databricks' + +const servicePrincipalSecretConfig: servicePrincipalSecret.ServicePrincipalSecretConfig = { ... } +``` + +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| connection | cdktf.SSHProvisionerConnection \| cdktf.WinrmProvisionerConnection | *No description.* | +| count | number | *No description.* | +| dependsOn | cdktf.ITerraformDependable[] | *No description.* | +| forEach | cdktf.ITerraformIterator | *No description.* | +| lifecycle | cdktf.TerraformResourceLifecycle | *No description.* | +| provider | cdktf.TerraformProvider | *No description.* | +| provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | +| servicePrincipalId | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#service_principal_id ServicePrincipalSecret#service_principal_id}. | +| id | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#id ServicePrincipalSecret#id}. | +| secret | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#secret ServicePrincipalSecret#secret}. | +| status | string | Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#status ServicePrincipalSecret#status}. | + +--- + +##### `connection`Optional + +```typescript +public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection; +``` + +- *Type:* cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection + +--- + +##### `count`Optional + +```typescript +public readonly count: number; +``` + +- *Type:* number + +--- + +##### `dependsOn`Optional + +```typescript +public readonly dependsOn: ITerraformDependable[]; +``` + +- *Type:* cdktf.ITerraformDependable[] + +--- + +##### `forEach`Optional + +```typescript +public readonly forEach: ITerraformIterator; +``` + +- *Type:* cdktf.ITerraformIterator + +--- + +##### `lifecycle`Optional + +```typescript +public readonly lifecycle: TerraformResourceLifecycle; +``` + +- *Type:* cdktf.TerraformResourceLifecycle + +--- + +##### `provider`Optional + +```typescript +public readonly provider: TerraformProvider; +``` + +- *Type:* cdktf.TerraformProvider + +--- + +##### `provisioners`Optional + +```typescript +public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[]; +``` + +- *Type:* cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] + +--- + +##### `servicePrincipalId`Required + +```typescript +public readonly servicePrincipalId: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#service_principal_id ServicePrincipalSecret#service_principal_id}. + +--- + +##### `id`Optional + +```typescript +public readonly id: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#id ServicePrincipalSecret#id}. + +Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. +If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. + +--- + +##### `secret`Optional + +```typescript +public readonly secret: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#secret ServicePrincipalSecret#secret}. + +--- + +##### `status`Optional + +```typescript +public readonly status: string; +``` + +- *Type:* string + +Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#status ServicePrincipalSecret#status}. + +--- + ### SqlDashboardConfig #### Initializer diff --git a/package.json b/package.json index 2da2f60ff..2d07a721c 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ "cdktf": { "provider": { "name": "registry.terraform.io/databricks/databricks", - "version": "1.4.0" + "version": "1.5.0" } }, "resolutions": { diff --git a/src/aws-s3-mount/index.ts b/src/aws-s3-mount/index.ts index c6fa4e4c3..eb1e56493 100644 --- a/src/aws-s3-mount/index.ts +++ b/src/aws-s3-mount/index.ts @@ -58,7 +58,7 @@ export class AwsS3Mount extends cdktf.TerraformResource { terraformResourceType: 'databricks_aws_s3_mount', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/azure-adls-gen1-mount/index.ts b/src/azure-adls-gen1-mount/index.ts index 7258fbd97..9d17d646b 100644 --- a/src/azure-adls-gen1-mount/index.ts +++ b/src/azure-adls-gen1-mount/index.ts @@ -78,7 +78,7 @@ export class AzureAdlsGen1Mount extends cdktf.TerraformResource { terraformResourceType: 'databricks_azure_adls_gen1_mount', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/azure-adls-gen2-mount/index.ts b/src/azure-adls-gen2-mount/index.ts index 25f2c5d27..3b79bad97 100644 --- a/src/azure-adls-gen2-mount/index.ts +++ b/src/azure-adls-gen2-mount/index.ts @@ -82,7 +82,7 @@ export class AzureAdlsGen2Mount extends cdktf.TerraformResource { terraformResourceType: 'databricks_azure_adls_gen2_mount', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/azure-blob-mount/index.ts b/src/azure-blob-mount/index.ts index 5be46e648..0618516e1 100644 --- a/src/azure-blob-mount/index.ts +++ b/src/azure-blob-mount/index.ts @@ -74,7 +74,7 @@ export class AzureBlobMount extends cdktf.TerraformResource { terraformResourceType: 'databricks_azure_blob_mount', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/catalog/index.ts b/src/catalog/index.ts index 864e48e84..b5a4138d9 100644 --- a/src/catalog/index.ts +++ b/src/catalog/index.ts @@ -66,7 +66,7 @@ export class Catalog extends cdktf.TerraformResource { terraformResourceType: 'databricks_catalog', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/cluster-policy/index.ts b/src/cluster-policy/index.ts index 058c0fc17..efc4d5b43 100644 --- a/src/cluster-policy/index.ts +++ b/src/cluster-policy/index.ts @@ -56,7 +56,7 @@ export class ClusterPolicy extends cdktf.TerraformResource { terraformResourceType: 'databricks_cluster_policy', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/cluster/index.ts b/src/cluster/index.ts index 97329e8c5..e9d132797 100644 --- a/src/cluster/index.ts +++ b/src/cluster/index.ts @@ -2802,7 +2802,7 @@ export class Cluster extends cdktf.TerraformResource { terraformResourceType: 'databricks_cluster', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-aws-assume-role-policy/index.ts b/src/data-databricks-aws-assume-role-policy/index.ts index 94bb88d30..f10fdff09 100644 --- a/src/data-databricks-aws-assume-role-policy/index.ts +++ b/src/data-databricks-aws-assume-role-policy/index.ts @@ -56,7 +56,7 @@ export class DataDatabricksAwsAssumeRolePolicy extends cdktf.TerraformDataSource terraformResourceType: 'databricks_aws_assume_role_policy', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-aws-bucket-policy/index.ts b/src/data-databricks-aws-bucket-policy/index.ts index cb13b51c3..370b31686 100644 --- a/src/data-databricks-aws-bucket-policy/index.ts +++ b/src/data-databricks-aws-bucket-policy/index.ts @@ -54,7 +54,7 @@ export class DataDatabricksAwsBucketPolicy extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_aws_bucket_policy', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-aws-crossaccount-policy/index.ts b/src/data-databricks-aws-crossaccount-policy/index.ts index 816e0f089..e9865d1fd 100644 --- a/src/data-databricks-aws-crossaccount-policy/index.ts +++ b/src/data-databricks-aws-crossaccount-policy/index.ts @@ -46,7 +46,7 @@ export class DataDatabricksAwsCrossaccountPolicy extends cdktf.TerraformDataSour terraformResourceType: 'databricks_aws_crossaccount_policy', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-catalogs/index.ts b/src/data-databricks-catalogs/index.ts index 4991f90a4..427eb7efb 100644 --- a/src/data-databricks-catalogs/index.ts +++ b/src/data-databricks-catalogs/index.ts @@ -46,7 +46,7 @@ export class DataDatabricksCatalogs extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_catalogs', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-cluster/index.ts b/src/data-databricks-cluster/index.ts index ab9d1353f..6404a5a17 100644 --- a/src/data-databricks-cluster/index.ts +++ b/src/data-databricks-cluster/index.ts @@ -3679,7 +3679,7 @@ export class DataDatabricksCluster extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_cluster', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-clusters/index.ts b/src/data-databricks-clusters/index.ts index 98b00b14c..41a4e0838 100644 --- a/src/data-databricks-clusters/index.ts +++ b/src/data-databricks-clusters/index.ts @@ -46,7 +46,7 @@ export class DataDatabricksClusters extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_clusters', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-current-user/index.ts b/src/data-databricks-current-user/index.ts index 37ef0935c..bb40e96e0 100644 --- a/src/data-databricks-current-user/index.ts +++ b/src/data-databricks-current-user/index.ts @@ -42,7 +42,7 @@ export class DataDatabricksCurrentUser extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_current_user', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-dbfs-file-paths/index.ts b/src/data-databricks-dbfs-file-paths/index.ts index e641abeab..3e78f25c9 100644 --- a/src/data-databricks-dbfs-file-paths/index.ts +++ b/src/data-databricks-dbfs-file-paths/index.ts @@ -119,7 +119,7 @@ export class DataDatabricksDbfsFilePaths extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_dbfs_file_paths', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-dbfs-file/index.ts b/src/data-databricks-dbfs-file/index.ts index fcb87ab32..29cdc9bbf 100644 --- a/src/data-databricks-dbfs-file/index.ts +++ b/src/data-databricks-dbfs-file/index.ts @@ -50,7 +50,7 @@ export class DataDatabricksDbfsFile extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_dbfs_file', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-group/index.ts b/src/data-databricks-group/index.ts index 3628c2351..91c924305 100644 --- a/src/data-databricks-group/index.ts +++ b/src/data-databricks-group/index.ts @@ -94,7 +94,7 @@ export class DataDatabricksGroup extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_group', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-job/index.ts b/src/data-databricks-job/index.ts index 3152905e2..e66eb8b6b 100644 --- a/src/data-databricks-job/index.ts +++ b/src/data-databricks-job/index.ts @@ -13563,7 +13563,7 @@ export class DataDatabricksJob extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_job', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-jobs/index.ts b/src/data-databricks-jobs/index.ts index 396ae9a18..be5cff029 100644 --- a/src/data-databricks-jobs/index.ts +++ b/src/data-databricks-jobs/index.ts @@ -46,7 +46,7 @@ export class DataDatabricksJobs extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_jobs', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-mws-workspaces/index.ts b/src/data-databricks-mws-workspaces/index.ts index 1520f1df4..6e3b5ec00 100644 --- a/src/data-databricks-mws-workspaces/index.ts +++ b/src/data-databricks-mws-workspaces/index.ts @@ -46,7 +46,7 @@ export class DataDatabricksMwsWorkspaces extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_mws_workspaces', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-node-type/index.ts b/src/data-databricks-node-type/index.ts index 201e23c62..ea1185eb8 100644 --- a/src/data-databricks-node-type/index.ts +++ b/src/data-databricks-node-type/index.ts @@ -90,7 +90,7 @@ export class DataDatabricksNodeType extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_node_type', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-notebook-paths/index.ts b/src/data-databricks-notebook-paths/index.ts index 8e77e9a54..6f697de59 100644 --- a/src/data-databricks-notebook-paths/index.ts +++ b/src/data-databricks-notebook-paths/index.ts @@ -119,7 +119,7 @@ export class DataDatabricksNotebookPaths extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_notebook_paths', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-notebook/index.ts b/src/data-databricks-notebook/index.ts index 92a44120d..d9b70a944 100644 --- a/src/data-databricks-notebook/index.ts +++ b/src/data-databricks-notebook/index.ts @@ -62,7 +62,7 @@ export class DataDatabricksNotebook extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_notebook', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-schemas/index.ts b/src/data-databricks-schemas/index.ts index 6de954e89..2378d943c 100644 --- a/src/data-databricks-schemas/index.ts +++ b/src/data-databricks-schemas/index.ts @@ -50,7 +50,7 @@ export class DataDatabricksSchemas extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_schemas', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-service-principal/index.ts b/src/data-databricks-service-principal/index.ts index f9b61967c..35fc20f13 100644 --- a/src/data-databricks-service-principal/index.ts +++ b/src/data-databricks-service-principal/index.ts @@ -70,7 +70,7 @@ export class DataDatabricksServicePrincipal extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_service_principal', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-service-principals/index.ts b/src/data-databricks-service-principals/index.ts index c5d4a4dad..89586f878 100644 --- a/src/data-databricks-service-principals/index.ts +++ b/src/data-databricks-service-principals/index.ts @@ -50,7 +50,7 @@ export class DataDatabricksServicePrincipals extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_service_principals', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-spark-version/index.ts b/src/data-databricks-spark-version/index.ts index af54f7395..29573c383 100644 --- a/src/data-databricks-spark-version/index.ts +++ b/src/data-databricks-spark-version/index.ts @@ -82,7 +82,7 @@ export class DataDatabricksSparkVersion extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_spark_version', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-sql-warehouse/index.ts b/src/data-databricks-sql-warehouse/index.ts index a5d27315e..8f6110c8e 100644 --- a/src/data-databricks-sql-warehouse/index.ts +++ b/src/data-databricks-sql-warehouse/index.ts @@ -523,7 +523,7 @@ export class DataDatabricksSqlWarehouse extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_sql_warehouse', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-sql-warehouses/index.ts b/src/data-databricks-sql-warehouses/index.ts index a0e76ac9c..15a369e88 100644 --- a/src/data-databricks-sql-warehouses/index.ts +++ b/src/data-databricks-sql-warehouses/index.ts @@ -50,7 +50,7 @@ export class DataDatabricksSqlWarehouses extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_sql_warehouses', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-tables/index.ts b/src/data-databricks-tables/index.ts index 88e6e12a3..fc6e9c3b8 100644 --- a/src/data-databricks-tables/index.ts +++ b/src/data-databricks-tables/index.ts @@ -54,7 +54,7 @@ export class DataDatabricksTables extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_tables', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-user/index.ts b/src/data-databricks-user/index.ts index 3552411dd..c577c6eb8 100644 --- a/src/data-databricks-user/index.ts +++ b/src/data-databricks-user/index.ts @@ -50,7 +50,7 @@ export class DataDatabricksUser extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_user', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-views/index.ts b/src/data-databricks-views/index.ts index f380e0a2f..7b0991072 100644 --- a/src/data-databricks-views/index.ts +++ b/src/data-databricks-views/index.ts @@ -54,7 +54,7 @@ export class DataDatabricksViews extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_views', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/data-databricks-zones/index.ts b/src/data-databricks-zones/index.ts index a1893d404..8a4c9c659 100644 --- a/src/data-databricks-zones/index.ts +++ b/src/data-databricks-zones/index.ts @@ -42,7 +42,7 @@ export class DataDatabricksZones extends cdktf.TerraformDataSource { terraformResourceType: 'databricks_zones', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/dbfs-file/index.ts b/src/dbfs-file/index.ts index cb9597e33..47c5d4550 100644 --- a/src/dbfs-file/index.ts +++ b/src/dbfs-file/index.ts @@ -58,7 +58,7 @@ export class DbfsFile extends cdktf.TerraformResource { terraformResourceType: 'databricks_dbfs_file', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/directory/index.ts b/src/directory/index.ts index 22a857ac8..121677f9b 100644 --- a/src/directory/index.ts +++ b/src/directory/index.ts @@ -54,7 +54,7 @@ export class Directory extends cdktf.TerraformResource { terraformResourceType: 'databricks_directory', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/entitlements/index.ts b/src/entitlements/index.ts index 74393d5e6..b13d2b1d7 100644 --- a/src/entitlements/index.ts +++ b/src/entitlements/index.ts @@ -70,7 +70,7 @@ export class Entitlements extends cdktf.TerraformResource { terraformResourceType: 'databricks_entitlements', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/external-location/index.ts b/src/external-location/index.ts index 4a2dddd4a..2745e3a82 100644 --- a/src/external-location/index.ts +++ b/src/external-location/index.ts @@ -70,7 +70,7 @@ export class ExternalLocation extends cdktf.TerraformResource { terraformResourceType: 'databricks_external_location', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/git-credential/index.ts b/src/git-credential/index.ts index eb10bd9b5..a27e4873b 100644 --- a/src/git-credential/index.ts +++ b/src/git-credential/index.ts @@ -58,7 +58,7 @@ export class GitCredential extends cdktf.TerraformResource { terraformResourceType: 'databricks_git_credential', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/global-init-script/index.ts b/src/global-init-script/index.ts index 9f003ee91..37c53e891 100644 --- a/src/global-init-script/index.ts +++ b/src/global-init-script/index.ts @@ -120,7 +120,7 @@ export class GlobalInitScript extends cdktf.TerraformResource { terraformResourceType: 'databricks_global_init_script', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/grants/index.ts b/src/grants/index.ts index 773043f29..86e23f7b9 100644 --- a/src/grants/index.ts +++ b/src/grants/index.ts @@ -27,6 +27,10 @@ export interface GrantsConfig extends cdktf.TerraformMetaArguments { */ readonly id?: string; /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/grants#materialized_view Grants#materialized_view} + */ + readonly materializedView?: string; + /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/grants#metastore Grants#metastore} */ readonly metastore?: string; @@ -198,7 +202,7 @@ export class Grants extends cdktf.TerraformResource { terraformResourceType: 'databricks_grants', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, @@ -213,6 +217,7 @@ export class Grants extends cdktf.TerraformResource { this._externalLocation = config.externalLocation; this._function = config.function; this._id = config.id; + this._materializedView = config.materializedView; this._metastore = config.metastore; this._schema = config.schema; this._storageCredential = config.storageCredential; @@ -289,6 +294,22 @@ export class Grants extends cdktf.TerraformResource { return this._id; } + // materialized_view - computed: false, optional: true, required: false + private _materializedView?: string; + public get materializedView() { + return this.getStringAttribute('materialized_view'); + } + public set materializedView(value: string) { + this._materializedView = value; + } + public resetMaterializedView() { + this._materializedView = undefined; + } + // Temporarily expose input value. Use with caution. + public get materializedViewInput() { + return this._materializedView; + } + // metastore - computed: false, optional: true, required: false private _metastore?: string; public get metastore() { @@ -392,6 +413,7 @@ export class Grants extends cdktf.TerraformResource { external_location: cdktf.stringToTerraform(this._externalLocation), function: cdktf.stringToTerraform(this._function), id: cdktf.stringToTerraform(this._id), + materialized_view: cdktf.stringToTerraform(this._materializedView), metastore: cdktf.stringToTerraform(this._metastore), schema: cdktf.stringToTerraform(this._schema), storage_credential: cdktf.stringToTerraform(this._storageCredential), diff --git a/src/group-instance-profile/index.ts b/src/group-instance-profile/index.ts index c1b6cae81..43baf5334 100644 --- a/src/group-instance-profile/index.ts +++ b/src/group-instance-profile/index.ts @@ -50,7 +50,7 @@ export class GroupInstanceProfile extends cdktf.TerraformResource { terraformResourceType: 'databricks_group_instance_profile', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/group-member/index.ts b/src/group-member/index.ts index d1a3b86f0..502c2f506 100644 --- a/src/group-member/index.ts +++ b/src/group-member/index.ts @@ -50,7 +50,7 @@ export class GroupMember extends cdktf.TerraformResource { terraformResourceType: 'databricks_group_member', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/group-role/index.ts b/src/group-role/index.ts index f2bedbda1..39564715d 100644 --- a/src/group-role/index.ts +++ b/src/group-role/index.ts @@ -50,7 +50,7 @@ export class GroupRole extends cdktf.TerraformResource { terraformResourceType: 'databricks_group_role', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/group/index.ts b/src/group/index.ts index f50794776..99812cc61 100644 --- a/src/group/index.ts +++ b/src/group/index.ts @@ -74,7 +74,7 @@ export class Group extends cdktf.TerraformResource { terraformResourceType: 'databricks_group', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/index.ts b/src/index.ts index c24033fb9..2153e0588 100644 --- a/src/index.ts +++ b/src/index.ts @@ -51,6 +51,7 @@ export * as secretAcl from './secret-acl'; export * as secretScope from './secret-scope'; export * as servicePrincipal from './service-principal'; export * as servicePrincipalRole from './service-principal-role'; +export * as servicePrincipalSecret from './service-principal-secret'; export * as sqlDashboard from './sql-dashboard'; export * as sqlEndpoint from './sql-endpoint'; export * as sqlGlobalConfig from './sql-global-config'; diff --git a/src/instance-pool/index.ts b/src/instance-pool/index.ts index 010ed7757..954b4f271 100644 --- a/src/instance-pool/index.ts +++ b/src/instance-pool/index.ts @@ -1230,7 +1230,7 @@ export class InstancePool extends cdktf.TerraformResource { terraformResourceType: 'databricks_instance_pool', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/instance-profile/index.ts b/src/instance-profile/index.ts index 279dad8d5..91ce3522e 100644 --- a/src/instance-profile/index.ts +++ b/src/instance-profile/index.ts @@ -54,7 +54,7 @@ export class InstanceProfile extends cdktf.TerraformResource { terraformResourceType: 'databricks_instance_profile', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/ip-access-list/index.ts b/src/ip-access-list/index.ts index d6ea35921..00a72cfac 100644 --- a/src/ip-access-list/index.ts +++ b/src/ip-access-list/index.ts @@ -58,7 +58,7 @@ export class IpAccessList extends cdktf.TerraformResource { terraformResourceType: 'databricks_ip_access_list', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/job/index.ts b/src/job/index.ts index ad4da1436..24d1ef442 100644 --- a/src/job/index.ts +++ b/src/job/index.ts @@ -12955,7 +12955,7 @@ export class Job extends cdktf.TerraformResource { terraformResourceType: 'databricks_job', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/library/index.ts b/src/library/index.ts index 4baea9927..32a94d40c 100644 --- a/src/library/index.ts +++ b/src/library/index.ts @@ -370,7 +370,7 @@ export class Library extends cdktf.TerraformResource { terraformResourceType: 'databricks_library', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/metastore-assignment/index.ts b/src/metastore-assignment/index.ts index d434a74a9..d9366afdf 100644 --- a/src/metastore-assignment/index.ts +++ b/src/metastore-assignment/index.ts @@ -54,7 +54,7 @@ export class MetastoreAssignment extends cdktf.TerraformResource { terraformResourceType: 'databricks_metastore_assignment', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/metastore-data-access/index.ts b/src/metastore-data-access/index.ts index 6c10ce97e..85799c65d 100644 --- a/src/metastore-data-access/index.ts +++ b/src/metastore-data-access/index.ts @@ -310,7 +310,7 @@ export class MetastoreDataAccess extends cdktf.TerraformResource { terraformResourceType: 'databricks_metastore_data_access', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/metastore/index.ts b/src/metastore/index.ts index 4da4f34e7..4208ff780 100644 --- a/src/metastore/index.ts +++ b/src/metastore/index.ts @@ -102,7 +102,7 @@ export class Metastore extends cdktf.TerraformResource { terraformResourceType: 'databricks_metastore', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mlflow-experiment/index.ts b/src/mlflow-experiment/index.ts index 36df075dc..4d9972b68 100644 --- a/src/mlflow-experiment/index.ts +++ b/src/mlflow-experiment/index.ts @@ -124,7 +124,7 @@ export class MlflowExperiment extends cdktf.TerraformResource { terraformResourceType: 'databricks_mlflow_experiment', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mlflow-model/index.ts b/src/mlflow-model/index.ts index 10c6cf702..0a4c4e699 100644 --- a/src/mlflow-model/index.ts +++ b/src/mlflow-model/index.ts @@ -190,7 +190,7 @@ export class MlflowModel extends cdktf.TerraformResource { terraformResourceType: 'databricks_mlflow_model', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mlflow-webhook/index.ts b/src/mlflow-webhook/index.ts index b19fbc90d..0fdb0e72c 100644 --- a/src/mlflow-webhook/index.ts +++ b/src/mlflow-webhook/index.ts @@ -326,7 +326,7 @@ export class MlflowWebhook extends cdktf.TerraformResource { terraformResourceType: 'databricks_mlflow_webhook', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mount/index.ts b/src/mount/index.ts index 21bf6d8ec..2742ba709 100644 --- a/src/mount/index.ts +++ b/src/mount/index.ts @@ -1006,7 +1006,7 @@ export class Mount extends cdktf.TerraformResource { terraformResourceType: 'databricks_mount', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mws-credentials/index.ts b/src/mws-credentials/index.ts index 140ef4675..949becae5 100644 --- a/src/mws-credentials/index.ts +++ b/src/mws-credentials/index.ts @@ -54,7 +54,7 @@ export class MwsCredentials extends cdktf.TerraformResource { terraformResourceType: 'databricks_mws_credentials', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mws-customer-managed-keys/index.ts b/src/mws-customer-managed-keys/index.ts index dfb78204a..7f37a0c87 100644 --- a/src/mws-customer-managed-keys/index.ts +++ b/src/mws-customer-managed-keys/index.ts @@ -177,7 +177,7 @@ export class MwsCustomerManagedKeys extends cdktf.TerraformResource { terraformResourceType: 'databricks_mws_customer_managed_keys', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mws-log-delivery/index.ts b/src/mws-log-delivery/index.ts index ea9cd7f66..426f4593e 100644 --- a/src/mws-log-delivery/index.ts +++ b/src/mws-log-delivery/index.ts @@ -86,7 +86,7 @@ export class MwsLogDelivery extends cdktf.TerraformResource { terraformResourceType: 'databricks_mws_log_delivery', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mws-networks/index.ts b/src/mws-networks/index.ts index 2237e52f9..ac1418a2f 100644 --- a/src/mws-networks/index.ts +++ b/src/mws-networks/index.ts @@ -300,7 +300,7 @@ export class MwsNetworks extends cdktf.TerraformResource { terraformResourceType: 'databricks_mws_networks', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mws-permission-assignment/index.ts b/src/mws-permission-assignment/index.ts index 15d10a3fd..e5211e421 100644 --- a/src/mws-permission-assignment/index.ts +++ b/src/mws-permission-assignment/index.ts @@ -54,7 +54,7 @@ export class MwsPermissionAssignment extends cdktf.TerraformResource { terraformResourceType: 'databricks_mws_permission_assignment', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mws-private-access-settings/index.ts b/src/mws-private-access-settings/index.ts index a8044a3e1..92a92b78b 100644 --- a/src/mws-private-access-settings/index.ts +++ b/src/mws-private-access-settings/index.ts @@ -74,7 +74,7 @@ export class MwsPrivateAccessSettings extends cdktf.TerraformResource { terraformResourceType: 'databricks_mws_private_access_settings', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mws-storage-configurations/index.ts b/src/mws-storage-configurations/index.ts index cb433f4d5..9d1c24fdc 100644 --- a/src/mws-storage-configurations/index.ts +++ b/src/mws-storage-configurations/index.ts @@ -54,7 +54,7 @@ export class MwsStorageConfigurations extends cdktf.TerraformResource { terraformResourceType: 'databricks_mws_storage_configurations', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mws-vpc-endpoint/index.ts b/src/mws-vpc-endpoint/index.ts index b5a504589..3caa85942 100644 --- a/src/mws-vpc-endpoint/index.ts +++ b/src/mws-vpc-endpoint/index.ts @@ -78,7 +78,7 @@ export class MwsVpcEndpoint extends cdktf.TerraformResource { terraformResourceType: 'databricks_mws_vpc_endpoint', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/mws-workspaces/index.ts b/src/mws-workspaces/index.ts index ad38942e5..ebd413142 100644 --- a/src/mws-workspaces/index.ts +++ b/src/mws-workspaces/index.ts @@ -979,7 +979,7 @@ export class MwsWorkspaces extends cdktf.TerraformResource { terraformResourceType: 'databricks_mws_workspaces', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/notebook/index.ts b/src/notebook/index.ts index 3ddbbe377..f1e7ec814 100644 --- a/src/notebook/index.ts +++ b/src/notebook/index.ts @@ -74,7 +74,7 @@ export class Notebook extends cdktf.TerraformResource { terraformResourceType: 'databricks_notebook', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/obo-token/index.ts b/src/obo-token/index.ts index 833610cd0..62782bb99 100644 --- a/src/obo-token/index.ts +++ b/src/obo-token/index.ts @@ -54,7 +54,7 @@ export class OboToken extends cdktf.TerraformResource { terraformResourceType: 'databricks_obo_token', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/permission-assignment/index.ts b/src/permission-assignment/index.ts index b4396fad6..0e6e957fe 100644 --- a/src/permission-assignment/index.ts +++ b/src/permission-assignment/index.ts @@ -50,7 +50,7 @@ export class PermissionAssignment extends cdktf.TerraformResource { terraformResourceType: 'databricks_permission_assignment', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/permissions/index.ts b/src/permissions/index.ts index dcaa4e337..97d55d39c 100644 --- a/src/permissions/index.ts +++ b/src/permissions/index.ts @@ -299,7 +299,7 @@ export class Permissions extends cdktf.TerraformResource { terraformResourceType: 'databricks_permissions', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/pipeline/index.ts b/src/pipeline/index.ts index a1258687f..bc20986ef 100644 --- a/src/pipeline/index.ts +++ b/src/pipeline/index.ts @@ -2459,7 +2459,7 @@ export class Pipeline extends cdktf.TerraformResource { terraformResourceType: 'databricks_pipeline', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/provider/index.ts b/src/provider/index.ts index 68ad590aa..a39a3d4c0 100644 --- a/src/provider/index.ts +++ b/src/provider/index.ts @@ -44,6 +44,14 @@ export interface DatabricksProviderConfig { */ readonly azureWorkspaceResourceId?: string; /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#client_id DatabricksProvider#client_id} + */ + readonly clientId?: string; + /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#client_secret DatabricksProvider#client_secret} + */ + readonly clientSecret?: string; + /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#config_file DatabricksProvider#config_file} */ readonly configFile?: string; @@ -92,6 +100,10 @@ export interface DatabricksProviderConfig { */ readonly token?: string; /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#token_endpoint DatabricksProvider#token_endpoint} + */ + readonly tokenEndpoint?: string; + /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks#username DatabricksProvider#username} */ readonly username?: string; @@ -129,7 +141,7 @@ export class DatabricksProvider extends cdktf.TerraformProvider { terraformResourceType: 'databricks', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, terraformProviderSource: 'databricks/databricks' @@ -143,6 +155,8 @@ export class DatabricksProvider extends cdktf.TerraformProvider { this._azureTenantId = config.azureTenantId; this._azureUseMsi = config.azureUseMsi; this._azureWorkspaceResourceId = config.azureWorkspaceResourceId; + this._clientId = config.clientId; + this._clientSecret = config.clientSecret; this._configFile = config.configFile; this._debugHeaders = config.debugHeaders; this._debugTruncateBytes = config.debugTruncateBytes; @@ -155,6 +169,7 @@ export class DatabricksProvider extends cdktf.TerraformProvider { this._rateLimit = config.rateLimit; this._skipVerify = config.skipVerify; this._token = config.token; + this._tokenEndpoint = config.tokenEndpoint; this._username = config.username; this._alias = config.alias; } @@ -307,6 +322,38 @@ export class DatabricksProvider extends cdktf.TerraformProvider { return this._azureWorkspaceResourceId; } + // client_id - computed: false, optional: true, required: false + private _clientId?: string; + public get clientId() { + return this._clientId; + } + public set clientId(value: string | undefined) { + this._clientId = value; + } + public resetClientId() { + this._clientId = undefined; + } + // Temporarily expose input value. Use with caution. + public get clientIdInput() { + return this._clientId; + } + + // client_secret - computed: false, optional: true, required: false + private _clientSecret?: string; + public get clientSecret() { + return this._clientSecret; + } + public set clientSecret(value: string | undefined) { + this._clientSecret = value; + } + public resetClientSecret() { + this._clientSecret = undefined; + } + // Temporarily expose input value. Use with caution. + public get clientSecretInput() { + return this._clientSecret; + } + // config_file - computed: false, optional: true, required: false private _configFile?: string; public get configFile() { @@ -499,6 +546,22 @@ export class DatabricksProvider extends cdktf.TerraformProvider { return this._token; } + // token_endpoint - computed: false, optional: true, required: false + private _tokenEndpoint?: string; + public get tokenEndpoint() { + return this._tokenEndpoint; + } + public set tokenEndpoint(value: string | undefined) { + this._tokenEndpoint = value; + } + public resetTokenEndpoint() { + this._tokenEndpoint = undefined; + } + // Temporarily expose input value. Use with caution. + public get tokenEndpointInput() { + return this._tokenEndpoint; + } + // username - computed: false, optional: true, required: false private _username?: string; public get username() { @@ -546,6 +609,8 @@ export class DatabricksProvider extends cdktf.TerraformProvider { azure_tenant_id: cdktf.stringToTerraform(this._azureTenantId), azure_use_msi: cdktf.booleanToTerraform(this._azureUseMsi), azure_workspace_resource_id: cdktf.stringToTerraform(this._azureWorkspaceResourceId), + client_id: cdktf.stringToTerraform(this._clientId), + client_secret: cdktf.stringToTerraform(this._clientSecret), config_file: cdktf.stringToTerraform(this._configFile), debug_headers: cdktf.booleanToTerraform(this._debugHeaders), debug_truncate_bytes: cdktf.numberToTerraform(this._debugTruncateBytes), @@ -558,6 +623,7 @@ export class DatabricksProvider extends cdktf.TerraformProvider { rate_limit: cdktf.numberToTerraform(this._rateLimit), skip_verify: cdktf.booleanToTerraform(this._skipVerify), token: cdktf.stringToTerraform(this._token), + token_endpoint: cdktf.stringToTerraform(this._tokenEndpoint), username: cdktf.stringToTerraform(this._username), alias: cdktf.stringToTerraform(this._alias), }; diff --git a/src/recipient/index.ts b/src/recipient/index.ts index 09d4aff84..7e5d556f9 100644 --- a/src/recipient/index.ts +++ b/src/recipient/index.ts @@ -398,7 +398,7 @@ export class Recipient extends cdktf.TerraformResource { terraformResourceType: 'databricks_recipient', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/repo/index.ts b/src/repo/index.ts index ae3aedebd..511cae831 100644 --- a/src/repo/index.ts +++ b/src/repo/index.ts @@ -66,7 +66,7 @@ export class Repo extends cdktf.TerraformResource { terraformResourceType: 'databricks_repo', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/schema/index.ts b/src/schema/index.ts index 8ab0c8900..6c695206b 100644 --- a/src/schema/index.ts +++ b/src/schema/index.ts @@ -70,7 +70,7 @@ export class Schema extends cdktf.TerraformResource { terraformResourceType: 'databricks_schema', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/secret-acl/index.ts b/src/secret-acl/index.ts index 4de031e84..0039c2014 100644 --- a/src/secret-acl/index.ts +++ b/src/secret-acl/index.ts @@ -54,7 +54,7 @@ export class SecretAcl extends cdktf.TerraformResource { terraformResourceType: 'databricks_secret_acl', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/secret-scope/index.ts b/src/secret-scope/index.ts index 03097d8e4..1813921df 100644 --- a/src/secret-scope/index.ts +++ b/src/secret-scope/index.ts @@ -146,7 +146,7 @@ export class SecretScope extends cdktf.TerraformResource { terraformResourceType: 'databricks_secret_scope', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/secret/index.ts b/src/secret/index.ts index 6b80fac5c..8076a1008 100644 --- a/src/secret/index.ts +++ b/src/secret/index.ts @@ -54,7 +54,7 @@ export class Secret extends cdktf.TerraformResource { terraformResourceType: 'databricks_secret', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/service-principal-role/index.ts b/src/service-principal-role/index.ts index 96b6402df..e28207ad3 100644 --- a/src/service-principal-role/index.ts +++ b/src/service-principal-role/index.ts @@ -50,7 +50,7 @@ export class ServicePrincipalRole extends cdktf.TerraformResource { terraformResourceType: 'databricks_service_principal_role', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/service-principal-secret/README.md b/src/service-principal-secret/README.md new file mode 100644 index 000000000..1ec539eb4 --- /dev/null +++ b/src/service-principal-secret/README.md @@ -0,0 +1,3 @@ +# `databricks_service_principal_secret` + +Refer to the Terraform Registory for docs: [`databricks_service_principal_secret`](https://www.terraform.io/docs/providers/databricks/r/service_principal_secret). diff --git a/src/service-principal-secret/index.ts b/src/service-principal-secret/index.ts new file mode 100644 index 000000000..eebf4d920 --- /dev/null +++ b/src/service-principal-secret/index.ts @@ -0,0 +1,151 @@ +// https://www.terraform.io/docs/providers/databricks/r/service_principal_secret +// generated from terraform resource schema + +import { Construct } from 'constructs'; +import * as cdktf from 'cdktf'; + +// Configuration + +export interface ServicePrincipalSecretConfig extends cdktf.TerraformMetaArguments { + /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#id ServicePrincipalSecret#id} + * + * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. + * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. + */ + readonly id?: string; + /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#secret ServicePrincipalSecret#secret} + */ + readonly secret?: string; + /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#service_principal_id ServicePrincipalSecret#service_principal_id} + */ + readonly servicePrincipalId: string; + /** + * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret#status ServicePrincipalSecret#status} + */ + readonly status?: string; +} + +/** +* Represents a {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret databricks_service_principal_secret} +*/ +export class ServicePrincipalSecret extends cdktf.TerraformResource { + + // ================= + // STATIC PROPERTIES + // ================= + public static readonly tfResourceType = "databricks_service_principal_secret"; + + // =========== + // INITIALIZER + // =========== + + /** + * Create a new {@link https://www.terraform.io/docs/providers/databricks/r/service_principal_secret databricks_service_principal_secret} Resource + * + * @param scope The scope in which to define this construct + * @param id The scoped construct ID. Must be unique amongst siblings in the same scope + * @param options ServicePrincipalSecretConfig + */ + public constructor(scope: Construct, id: string, config: ServicePrincipalSecretConfig) { + super(scope, id, { + terraformResourceType: 'databricks_service_principal_secret', + terraformGeneratorMetadata: { + providerName: 'databricks', + providerVersion: '1.5.0', + providerVersionConstraint: '~> 1.0' + }, + provider: config.provider, + dependsOn: config.dependsOn, + count: config.count, + lifecycle: config.lifecycle, + provisioners: config.provisioners, + connection: config.connection, + forEach: config.forEach + }); + this._id = config.id; + this._secret = config.secret; + this._servicePrincipalId = config.servicePrincipalId; + this._status = config.status; + } + + // ========== + // ATTRIBUTES + // ========== + + // id - computed: true, optional: true, required: false + private _id?: string; + public get id() { + return this.getStringAttribute('id'); + } + public set id(value: string) { + this._id = value; + } + public resetId() { + this._id = undefined; + } + // Temporarily expose input value. Use with caution. + public get idInput() { + return this._id; + } + + // secret - computed: true, optional: true, required: false + private _secret?: string; + public get secret() { + return this.getStringAttribute('secret'); + } + public set secret(value: string) { + this._secret = value; + } + public resetSecret() { + this._secret = undefined; + } + // Temporarily expose input value. Use with caution. + public get secretInput() { + return this._secret; + } + + // service_principal_id - computed: false, optional: false, required: true + private _servicePrincipalId?: string; + public get servicePrincipalId() { + return this.getStringAttribute('service_principal_id'); + } + public set servicePrincipalId(value: string) { + this._servicePrincipalId = value; + } + // Temporarily expose input value. Use with caution. + public get servicePrincipalIdInput() { + return this._servicePrincipalId; + } + + // status - computed: true, optional: true, required: false + private _status?: string; + public get status() { + return this.getStringAttribute('status'); + } + public set status(value: string) { + this._status = value; + } + public resetStatus() { + this._status = undefined; + } + // Temporarily expose input value. Use with caution. + public get statusInput() { + return this._status; + } + + // ========= + // SYNTHESIS + // ========= + + protected synthesizeAttributes(): { [name: string]: any } { + return { + id: cdktf.stringToTerraform(this._id), + secret: cdktf.stringToTerraform(this._secret), + service_principal_id: cdktf.stringToTerraform(this._servicePrincipalId), + status: cdktf.stringToTerraform(this._status), + }; + } +} diff --git a/src/service-principal/index.ts b/src/service-principal/index.ts index 00b0d70a2..d2434441c 100644 --- a/src/service-principal/index.ts +++ b/src/service-principal/index.ts @@ -78,7 +78,7 @@ export class ServicePrincipal extends cdktf.TerraformResource { terraformResourceType: 'databricks_service_principal', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/sql-dashboard/index.ts b/src/sql-dashboard/index.ts index 4586c781f..83af31b3b 100644 --- a/src/sql-dashboard/index.ts +++ b/src/sql-dashboard/index.ts @@ -50,7 +50,7 @@ export class SqlDashboard extends cdktf.TerraformResource { terraformResourceType: 'databricks_sql_dashboard', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/sql-endpoint/index.ts b/src/sql-endpoint/index.ts index 6ce74633f..2230c24d9 100644 --- a/src/sql-endpoint/index.ts +++ b/src/sql-endpoint/index.ts @@ -604,7 +604,7 @@ export class SqlEndpoint extends cdktf.TerraformResource { terraformResourceType: 'databricks_sql_endpoint', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/sql-global-config/index.ts b/src/sql-global-config/index.ts index 2591da049..c7879157b 100644 --- a/src/sql-global-config/index.ts +++ b/src/sql-global-config/index.ts @@ -62,7 +62,7 @@ export class SqlGlobalConfig extends cdktf.TerraformResource { terraformResourceType: 'databricks_sql_global_config', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/sql-permissions/index.ts b/src/sql-permissions/index.ts index 7b99ab9c4..87bf94eca 100644 --- a/src/sql-permissions/index.ts +++ b/src/sql-permissions/index.ts @@ -194,7 +194,7 @@ export class SqlPermissions extends cdktf.TerraformResource { terraformResourceType: 'databricks_sql_permissions', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/sql-query/index.ts b/src/sql-query/index.ts index 8419af7f6..586d1e076 100644 --- a/src/sql-query/index.ts +++ b/src/sql-query/index.ts @@ -1959,7 +1959,7 @@ export class SqlQuery extends cdktf.TerraformResource { terraformResourceType: 'databricks_sql_query', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/sql-visualization/index.ts b/src/sql-visualization/index.ts index 855adc932..870ad5b77 100644 --- a/src/sql-visualization/index.ts +++ b/src/sql-visualization/index.ts @@ -66,7 +66,7 @@ export class SqlVisualization extends cdktf.TerraformResource { terraformResourceType: 'databricks_sql_visualization', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/sql-widget/index.ts b/src/sql-widget/index.ts index 7c31f6b46..b08e72cdb 100644 --- a/src/sql-widget/index.ts +++ b/src/sql-widget/index.ts @@ -471,7 +471,7 @@ export class SqlWidget extends cdktf.TerraformResource { terraformResourceType: 'databricks_sql_widget', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/storage-credential/index.ts b/src/storage-credential/index.ts index 263c5b250..8cf60414d 100644 --- a/src/storage-credential/index.ts +++ b/src/storage-credential/index.ts @@ -310,7 +310,7 @@ export class StorageCredential extends cdktf.TerraformResource { terraformResourceType: 'databricks_storage_credential', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/table/index.ts b/src/table/index.ts index 09cd85f04..197fc64d7 100644 --- a/src/table/index.ts +++ b/src/table/index.ts @@ -447,7 +447,7 @@ export class Table extends cdktf.TerraformResource { terraformResourceType: 'databricks_table', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/token/index.ts b/src/token/index.ts index 7f9058563..808bfe07d 100644 --- a/src/token/index.ts +++ b/src/token/index.ts @@ -62,7 +62,7 @@ export class Token extends cdktf.TerraformResource { terraformResourceType: 'databricks_token', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/user-instance-profile/index.ts b/src/user-instance-profile/index.ts index df9fb40ef..4312eb496 100644 --- a/src/user-instance-profile/index.ts +++ b/src/user-instance-profile/index.ts @@ -50,7 +50,7 @@ export class UserInstanceProfile extends cdktf.TerraformResource { terraformResourceType: 'databricks_user_instance_profile', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/user-role/index.ts b/src/user-role/index.ts index 4944c58f2..0a639e8ab 100644 --- a/src/user-role/index.ts +++ b/src/user-role/index.ts @@ -50,7 +50,7 @@ export class UserRole extends cdktf.TerraformResource { terraformResourceType: 'databricks_user_role', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/user/index.ts b/src/user/index.ts index 22fb633b5..8678ad9af 100644 --- a/src/user/index.ts +++ b/src/user/index.ts @@ -78,7 +78,7 @@ export class User extends cdktf.TerraformResource { terraformResourceType: 'databricks_user', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider, diff --git a/src/version.json b/src/version.json index bd957d3e2..34ace9b9b 100644 --- a/src/version.json +++ b/src/version.json @@ -1,3 +1,3 @@ { - "registry.terraform.io/databricks/databricks": "1.4.0" + "registry.terraform.io/databricks/databricks": "1.5.0" } diff --git a/src/workspace-conf/index.ts b/src/workspace-conf/index.ts index 97dd8e545..a0372ade5 100644 --- a/src/workspace-conf/index.ts +++ b/src/workspace-conf/index.ts @@ -46,7 +46,7 @@ export class WorkspaceConf extends cdktf.TerraformResource { terraformResourceType: 'databricks_workspace_conf', terraformGeneratorMetadata: { providerName: 'databricks', - providerVersion: '1.4.0', + providerVersion: '1.5.0', providerVersionConstraint: '~> 1.0' }, provider: config.provider,