Skip to content

Commit

Permalink
chore: upgrade provider (#208)
Browse files Browse the repository at this point in the history
This PR upgrades provider to the latest version
  • Loading branch information
team-tf-cdk authored Nov 3, 2022
1 parent b56364e commit aa2f74e
Show file tree
Hide file tree
Showing 100 changed files with 710 additions and 99 deletions.
378 changes: 378 additions & 0 deletions API.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/aws-s3-mount/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class AwsS3Mount extends cdktf.TerraformResource {
terraformResourceType: 'databricks_aws_s3_mount',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/azure-adls-gen1-mount/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class AzureAdlsGen1Mount extends cdktf.TerraformResource {
terraformResourceType: 'databricks_azure_adls_gen1_mount',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/azure-adls-gen2-mount/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class AzureAdlsGen2Mount extends cdktf.TerraformResource {
terraformResourceType: 'databricks_azure_adls_gen2_mount',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/azure-blob-mount/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class AzureBlobMount extends cdktf.TerraformResource {
terraformResourceType: 'databricks_azure_blob_mount',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/catalog/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class Catalog extends cdktf.TerraformResource {
terraformResourceType: 'databricks_catalog',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/cluster-policy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class ClusterPolicy extends cdktf.TerraformResource {
terraformResourceType: 'databricks_cluster_policy',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
24 changes: 23 additions & 1 deletion src/cluster/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ export interface ClusterConfig extends cdktf.TerraformMetaArguments {
*/
readonly policyId?: string;
/**
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/cluster#runtime_engine Cluster#runtime_engine}
*/
readonly runtimeEngine?: string;
/**
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/cluster#single_user_name Cluster#single_user_name}
*/
readonly singleUserName?: string;
Expand Down Expand Up @@ -2802,7 +2806,7 @@ export class Cluster extends cdktf.TerraformResource {
terraformResourceType: 'databricks_cluster',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down Expand Up @@ -2830,6 +2834,7 @@ export class Cluster extends cdktf.TerraformResource {
this._nodeTypeId = config.nodeTypeId;
this._numWorkers = config.numWorkers;
this._policyId = config.policyId;
this._runtimeEngine = config.runtimeEngine;
this._singleUserName = config.singleUserName;
this._sparkConf = config.sparkConf;
this._sparkEnvVars = config.sparkEnvVars;
Expand Down Expand Up @@ -3129,6 +3134,22 @@ export class Cluster extends cdktf.TerraformResource {
return this._policyId;
}

// runtime_engine - computed: false, optional: true, required: false
private _runtimeEngine?: string;
public get runtimeEngine() {
return this.getStringAttribute('runtime_engine');
}
public set runtimeEngine(value: string) {
this._runtimeEngine = value;
}
public resetRuntimeEngine() {
this._runtimeEngine = undefined;
}
// Temporarily expose input value. Use with caution.
public get runtimeEngineInput() {
return this._runtimeEngine;
}

// single_user_name - computed: false, optional: true, required: false
private _singleUserName?: string;
public get singleUserName() {
Expand Down Expand Up @@ -3399,6 +3420,7 @@ export class Cluster extends cdktf.TerraformResource {
node_type_id: cdktf.stringToTerraform(this._nodeTypeId),
num_workers: cdktf.numberToTerraform(this._numWorkers),
policy_id: cdktf.stringToTerraform(this._policyId),
runtime_engine: cdktf.stringToTerraform(this._runtimeEngine),
single_user_name: cdktf.stringToTerraform(this._singleUserName),
spark_conf: cdktf.hashMapper(cdktf.stringToTerraform)(this._sparkConf),
spark_env_vars: cdktf.hashMapper(cdktf.stringToTerraform)(this._sparkEnvVars),
Expand Down
2 changes: 1 addition & 1 deletion src/data-databricks-aws-assume-role-policy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class DataDatabricksAwsAssumeRolePolicy extends cdktf.TerraformDataSource
terraformResourceType: 'databricks_aws_assume_role_policy',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
24 changes: 23 additions & 1 deletion src/data-databricks-aws-bucket-policy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export interface DataDatabricksAwsBucketPolicyConfig extends cdktf.TerraformMeta
*/
readonly databricksAccountId?: string;
/**
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/d/aws_bucket_policy#databricks_e2_account_id DataDatabricksAwsBucketPolicy#databricks_e2_account_id}
*/
readonly databricksE2AccountId?: string;
/**
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/d/aws_bucket_policy#full_access_role DataDatabricksAwsBucketPolicy#full_access_role}
*/
readonly fullAccessRole?: string;
Expand Down Expand Up @@ -54,7 +58,7 @@ export class DataDatabricksAwsBucketPolicy extends cdktf.TerraformDataSource {
terraformResourceType: 'databricks_aws_bucket_policy',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand All @@ -67,6 +71,7 @@ export class DataDatabricksAwsBucketPolicy extends cdktf.TerraformDataSource {
});
this._bucket = config.bucket;
this._databricksAccountId = config.databricksAccountId;
this._databricksE2AccountId = config.databricksE2AccountId;
this._fullAccessRole = config.fullAccessRole;
this._id = config.id;
}
Expand Down Expand Up @@ -104,6 +109,22 @@ export class DataDatabricksAwsBucketPolicy extends cdktf.TerraformDataSource {
return this._databricksAccountId;
}

// databricks_e2_account_id - computed: false, optional: true, required: false
private _databricksE2AccountId?: string;
public get databricksE2AccountId() {
return this.getStringAttribute('databricks_e2_account_id');
}
public set databricksE2AccountId(value: string) {
this._databricksE2AccountId = value;
}
public resetDatabricksE2AccountId() {
this._databricksE2AccountId = undefined;
}
// Temporarily expose input value. Use with caution.
public get databricksE2AccountIdInput() {
return this._databricksE2AccountId;
}

// full_access_role - computed: false, optional: true, required: false
private _fullAccessRole?: string;
public get fullAccessRole() {
Expand Down Expand Up @@ -149,6 +170,7 @@ export class DataDatabricksAwsBucketPolicy extends cdktf.TerraformDataSource {
return {
bucket: cdktf.stringToTerraform(this._bucket),
databricks_account_id: cdktf.stringToTerraform(this._databricksAccountId),
databricks_e2_account_id: cdktf.stringToTerraform(this._databricksE2AccountId),
full_access_role: cdktf.stringToTerraform(this._fullAccessRole),
id: cdktf.stringToTerraform(this._id),
};
Expand Down
2 changes: 1 addition & 1 deletion src/data-databricks-aws-crossaccount-policy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class DataDatabricksAwsCrossaccountPolicy extends cdktf.TerraformDataSour
terraformResourceType: 'databricks_aws_crossaccount_policy',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-databricks-catalogs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class DataDatabricksCatalogs extends cdktf.TerraformDataSource {
terraformResourceType: 'databricks_catalogs',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
29 changes: 28 additions & 1 deletion src/data-databricks-cluster/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2553,6 +2553,10 @@ export interface DataDatabricksClusterClusterInfo {
*/
readonly policyId?: string;
/**
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/d/cluster#runtime_engine DataDatabricksCluster#runtime_engine}
*/
readonly runtimeEngine?: string;
/**
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/d/cluster#single_user_name DataDatabricksCluster#single_user_name}
*/
readonly singleUserName?: string;
Expand Down Expand Up @@ -2687,6 +2691,7 @@ export function dataDatabricksClusterClusterInfoToTerraform(struct?: DataDatabri
node_type_id: cdktf.stringToTerraform(struct!.nodeTypeId),
num_workers: cdktf.numberToTerraform(struct!.numWorkers),
policy_id: cdktf.stringToTerraform(struct!.policyId),
runtime_engine: cdktf.stringToTerraform(struct!.runtimeEngine),
single_user_name: cdktf.stringToTerraform(struct!.singleUserName),
spark_conf: cdktf.hashMapper(cdktf.stringToTerraform)(struct!.sparkConf),
spark_context_id: cdktf.numberToTerraform(struct!.sparkContextId),
Expand Down Expand Up @@ -2809,6 +2814,10 @@ export class DataDatabricksClusterClusterInfoOutputReference extends cdktf.Compl
hasAnyValues = true;
internalValueResult.policyId = this._policyId;
}
if (this._runtimeEngine !== undefined) {
hasAnyValues = true;
internalValueResult.runtimeEngine = this._runtimeEngine;
}
if (this._singleUserName !== undefined) {
hasAnyValues = true;
internalValueResult.singleUserName = this._singleUserName;
Expand Down Expand Up @@ -2920,6 +2929,7 @@ export class DataDatabricksClusterClusterInfoOutputReference extends cdktf.Compl
this._nodeTypeId = undefined;
this._numWorkers = undefined;
this._policyId = undefined;
this._runtimeEngine = undefined;
this._singleUserName = undefined;
this._sparkConf = undefined;
this._sparkContextId = undefined;
Expand Down Expand Up @@ -2965,6 +2975,7 @@ export class DataDatabricksClusterClusterInfoOutputReference extends cdktf.Compl
this._nodeTypeId = value.nodeTypeId;
this._numWorkers = value.numWorkers;
this._policyId = value.policyId;
this._runtimeEngine = value.runtimeEngine;
this._singleUserName = value.singleUserName;
this._sparkConf = value.sparkConf;
this._sparkContextId = value.sparkContextId;
Expand Down Expand Up @@ -3322,6 +3333,22 @@ export class DataDatabricksClusterClusterInfoOutputReference extends cdktf.Compl
return this._policyId;
}

// runtime_engine - computed: false, optional: true, required: false
private _runtimeEngine?: string;
public get runtimeEngine() {
return this.getStringAttribute('runtime_engine');
}
public set runtimeEngine(value: string) {
this._runtimeEngine = value;
}
public resetRuntimeEngine() {
this._runtimeEngine = undefined;
}
// Temporarily expose input value. Use with caution.
public get runtimeEngineInput() {
return this._runtimeEngine;
}

// single_user_name - computed: false, optional: true, required: false
private _singleUserName?: string;
public get singleUserName() {
Expand Down Expand Up @@ -3679,7 +3706,7 @@ export class DataDatabricksCluster extends cdktf.TerraformDataSource {
terraformResourceType: 'databricks_cluster',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-databricks-clusters/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class DataDatabricksClusters extends cdktf.TerraformDataSource {
terraformResourceType: 'databricks_clusters',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-databricks-current-user/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class DataDatabricksCurrentUser extends cdktf.TerraformDataSource {
terraformResourceType: 'databricks_current_user',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-databricks-dbfs-file-paths/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class DataDatabricksDbfsFilePaths extends cdktf.TerraformDataSource {
terraformResourceType: 'databricks_dbfs_file_paths',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-databricks-dbfs-file/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class DataDatabricksDbfsFile extends cdktf.TerraformDataSource {
terraformResourceType: 'databricks_dbfs_file',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-databricks-group/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class DataDatabricksGroup extends cdktf.TerraformDataSource {
terraformResourceType: 'databricks_group',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.6.1',
providerVersion: '1.6.2',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
Expand Down
Loading

0 comments on commit aa2f74e

Please sign in to comment.