-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade TF provider to 1.46.0 (#1460)
## Changes Release notes in https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.46.0 Notable changes since 1.43.0: * The job resource has been migrated to the Go SDK. More fields are now passed through from DABs into TF. * Improved zero-value handling. ## Tests n/a
- Loading branch information
Showing
17 changed files
with
757 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package schema | ||
|
||
const ProviderVersion = "1.43.0" | ||
const ProviderVersion = "1.46.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Generated from Databricks Terraform provider schema. DO NOT EDIT. | ||
|
||
package schema | ||
|
||
type DataSourceCatalogCatalogInfoEffectivePredictiveOptimizationFlag struct { | ||
InheritedFromName string `json:"inherited_from_name,omitempty"` | ||
InheritedFromType string `json:"inherited_from_type,omitempty"` | ||
Value string `json:"value"` | ||
} | ||
|
||
type DataSourceCatalogCatalogInfoProvisioningInfo struct { | ||
State string `json:"state,omitempty"` | ||
} | ||
|
||
type DataSourceCatalogCatalogInfo struct { | ||
BrowseOnly bool `json:"browse_only,omitempty"` | ||
CatalogType string `json:"catalog_type,omitempty"` | ||
Comment string `json:"comment,omitempty"` | ||
ConnectionName string `json:"connection_name,omitempty"` | ||
CreatedAt int `json:"created_at,omitempty"` | ||
CreatedBy string `json:"created_by,omitempty"` | ||
EnablePredictiveOptimization string `json:"enable_predictive_optimization,omitempty"` | ||
FullName string `json:"full_name,omitempty"` | ||
IsolationMode string `json:"isolation_mode,omitempty"` | ||
MetastoreId string `json:"metastore_id,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
Options map[string]string `json:"options,omitempty"` | ||
Owner string `json:"owner,omitempty"` | ||
Properties map[string]string `json:"properties,omitempty"` | ||
ProviderName string `json:"provider_name,omitempty"` | ||
SecurableKind string `json:"securable_kind,omitempty"` | ||
SecurableType string `json:"securable_type,omitempty"` | ||
ShareName string `json:"share_name,omitempty"` | ||
StorageLocation string `json:"storage_location,omitempty"` | ||
StorageRoot string `json:"storage_root,omitempty"` | ||
UpdatedAt int `json:"updated_at,omitempty"` | ||
UpdatedBy string `json:"updated_by,omitempty"` | ||
EffectivePredictiveOptimizationFlag *DataSourceCatalogCatalogInfoEffectivePredictiveOptimizationFlag `json:"effective_predictive_optimization_flag,omitempty"` | ||
ProvisioningInfo *DataSourceCatalogCatalogInfoProvisioningInfo `json:"provisioning_info,omitempty"` | ||
} | ||
|
||
type DataSourceCatalog struct { | ||
Id string `json:"id,omitempty"` | ||
Name string `json:"name"` | ||
CatalogInfo *DataSourceCatalogCatalogInfo `json:"catalog_info,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
bundle/internal/tf/schema/data_source_mlflow_experiment.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Generated from Databricks Terraform provider schema. DO NOT EDIT. | ||
|
||
package schema | ||
|
||
type DataSourceMlflowExperimentTags struct { | ||
Key string `json:"key,omitempty"` | ||
Value string `json:"value,omitempty"` | ||
} | ||
|
||
type DataSourceMlflowExperiment struct { | ||
ArtifactLocation string `json:"artifact_location,omitempty"` | ||
CreationTime int `json:"creation_time,omitempty"` | ||
ExperimentId string `json:"experiment_id,omitempty"` | ||
Id string `json:"id,omitempty"` | ||
LastUpdateTime int `json:"last_update_time,omitempty"` | ||
LifecycleStage string `json:"lifecycle_stage,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
Tags []DataSourceMlflowExperimentTags `json:"tags,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
// Generated from Databricks Terraform provider schema. DO NOT EDIT. | ||
|
||
package schema | ||
|
||
type DataSourceTableTableInfoColumnsMask struct { | ||
FunctionName string `json:"function_name,omitempty"` | ||
UsingColumnNames []string `json:"using_column_names,omitempty"` | ||
} | ||
|
||
type DataSourceTableTableInfoColumns struct { | ||
Comment string `json:"comment,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
Nullable bool `json:"nullable,omitempty"` | ||
PartitionIndex int `json:"partition_index,omitempty"` | ||
Position int `json:"position,omitempty"` | ||
TypeIntervalType string `json:"type_interval_type,omitempty"` | ||
TypeJson string `json:"type_json,omitempty"` | ||
TypeName string `json:"type_name,omitempty"` | ||
TypePrecision int `json:"type_precision,omitempty"` | ||
TypeScale int `json:"type_scale,omitempty"` | ||
TypeText string `json:"type_text,omitempty"` | ||
Mask *DataSourceTableTableInfoColumnsMask `json:"mask,omitempty"` | ||
} | ||
|
||
type DataSourceTableTableInfoDeltaRuntimePropertiesKvpairs struct { | ||
DeltaRuntimeProperties map[string]string `json:"delta_runtime_properties"` | ||
} | ||
|
||
type DataSourceTableTableInfoEffectivePredictiveOptimizationFlag struct { | ||
InheritedFromName string `json:"inherited_from_name,omitempty"` | ||
InheritedFromType string `json:"inherited_from_type,omitempty"` | ||
Value string `json:"value"` | ||
} | ||
|
||
type DataSourceTableTableInfoEncryptionDetailsSseEncryptionDetails struct { | ||
Algorithm string `json:"algorithm,omitempty"` | ||
AwsKmsKeyArn string `json:"aws_kms_key_arn,omitempty"` | ||
} | ||
|
||
type DataSourceTableTableInfoEncryptionDetails struct { | ||
SseEncryptionDetails *DataSourceTableTableInfoEncryptionDetailsSseEncryptionDetails `json:"sse_encryption_details,omitempty"` | ||
} | ||
|
||
type DataSourceTableTableInfoRowFilter struct { | ||
FunctionName string `json:"function_name"` | ||
InputColumnNames []string `json:"input_column_names"` | ||
} | ||
|
||
type DataSourceTableTableInfoTableConstraintsForeignKeyConstraint struct { | ||
ChildColumns []string `json:"child_columns"` | ||
Name string `json:"name"` | ||
ParentColumns []string `json:"parent_columns"` | ||
ParentTable string `json:"parent_table"` | ||
} | ||
|
||
type DataSourceTableTableInfoTableConstraintsNamedTableConstraint struct { | ||
Name string `json:"name"` | ||
} | ||
|
||
type DataSourceTableTableInfoTableConstraintsPrimaryKeyConstraint struct { | ||
ChildColumns []string `json:"child_columns"` | ||
Name string `json:"name"` | ||
} | ||
|
||
type DataSourceTableTableInfoTableConstraints struct { | ||
ForeignKeyConstraint *DataSourceTableTableInfoTableConstraintsForeignKeyConstraint `json:"foreign_key_constraint,omitempty"` | ||
NamedTableConstraint *DataSourceTableTableInfoTableConstraintsNamedTableConstraint `json:"named_table_constraint,omitempty"` | ||
PrimaryKeyConstraint *DataSourceTableTableInfoTableConstraintsPrimaryKeyConstraint `json:"primary_key_constraint,omitempty"` | ||
} | ||
|
||
type DataSourceTableTableInfoViewDependenciesDependenciesFunction struct { | ||
FunctionFullName string `json:"function_full_name"` | ||
} | ||
|
||
type DataSourceTableTableInfoViewDependenciesDependenciesTable struct { | ||
TableFullName string `json:"table_full_name"` | ||
} | ||
|
||
type DataSourceTableTableInfoViewDependenciesDependencies struct { | ||
Function *DataSourceTableTableInfoViewDependenciesDependenciesFunction `json:"function,omitempty"` | ||
Table *DataSourceTableTableInfoViewDependenciesDependenciesTable `json:"table,omitempty"` | ||
} | ||
|
||
type DataSourceTableTableInfoViewDependencies struct { | ||
Dependencies []DataSourceTableTableInfoViewDependenciesDependencies `json:"dependencies,omitempty"` | ||
} | ||
|
||
type DataSourceTableTableInfo struct { | ||
AccessPoint string `json:"access_point,omitempty"` | ||
BrowseOnly bool `json:"browse_only,omitempty"` | ||
CatalogName string `json:"catalog_name,omitempty"` | ||
Comment string `json:"comment,omitempty"` | ||
CreatedAt int `json:"created_at,omitempty"` | ||
CreatedBy string `json:"created_by,omitempty"` | ||
DataAccessConfigurationId string `json:"data_access_configuration_id,omitempty"` | ||
DataSourceFormat string `json:"data_source_format,omitempty"` | ||
DeletedAt int `json:"deleted_at,omitempty"` | ||
EnablePredictiveOptimization string `json:"enable_predictive_optimization,omitempty"` | ||
FullName string `json:"full_name,omitempty"` | ||
MetastoreId string `json:"metastore_id,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
Owner string `json:"owner,omitempty"` | ||
PipelineId string `json:"pipeline_id,omitempty"` | ||
Properties map[string]string `json:"properties,omitempty"` | ||
SchemaName string `json:"schema_name,omitempty"` | ||
SqlPath string `json:"sql_path,omitempty"` | ||
StorageCredentialName string `json:"storage_credential_name,omitempty"` | ||
StorageLocation string `json:"storage_location,omitempty"` | ||
TableId string `json:"table_id,omitempty"` | ||
TableType string `json:"table_type,omitempty"` | ||
UpdatedAt int `json:"updated_at,omitempty"` | ||
UpdatedBy string `json:"updated_by,omitempty"` | ||
ViewDefinition string `json:"view_definition,omitempty"` | ||
Columns []DataSourceTableTableInfoColumns `json:"columns,omitempty"` | ||
DeltaRuntimePropertiesKvpairs *DataSourceTableTableInfoDeltaRuntimePropertiesKvpairs `json:"delta_runtime_properties_kvpairs,omitempty"` | ||
EffectivePredictiveOptimizationFlag *DataSourceTableTableInfoEffectivePredictiveOptimizationFlag `json:"effective_predictive_optimization_flag,omitempty"` | ||
EncryptionDetails *DataSourceTableTableInfoEncryptionDetails `json:"encryption_details,omitempty"` | ||
RowFilter *DataSourceTableTableInfoRowFilter `json:"row_filter,omitempty"` | ||
TableConstraints []DataSourceTableTableInfoTableConstraints `json:"table_constraints,omitempty"` | ||
ViewDependencies *DataSourceTableTableInfoViewDependencies `json:"view_dependencies,omitempty"` | ||
} | ||
|
||
type DataSourceTable struct { | ||
Id string `json:"id,omitempty"` | ||
Name string `json:"name"` | ||
TableInfo *DataSourceTableTableInfo `json:"table_info,omitempty"` | ||
} |
Oops, something went wrong.