mirror of https://github.com/databricks/cli.git
Upgrade TF provider to 1.42.0 (#1418)
## Changes Upgrade TF provider to 1.42.0 Also fixes #1258
This commit is contained in:
parent
4724ecb324
commit
a393c87ed9
|
@ -1,3 +1,3 @@
|
|||
package schema
|
||||
|
||||
const ProviderVersion = "1.40.0"
|
||||
const ProviderVersion = "1.42.0"
|
||||
|
|
|
@ -243,12 +243,13 @@ type DataSourceJobJobSettingsSettingsLibraryPypi struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsLibrary struct {
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *DataSourceJobJobSettingsSettingsLibraryCran `json:"cran,omitempty"`
|
||||
Maven *DataSourceJobJobSettingsSettingsLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *DataSourceJobJobSettingsSettingsLibraryPypi `json:"pypi,omitempty"`
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *DataSourceJobJobSettingsSettingsLibraryCran `json:"cran,omitempty"`
|
||||
Maven *DataSourceJobJobSettingsSettingsLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *DataSourceJobJobSettingsSettingsLibraryPypi `json:"pypi,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsNewClusterAutoscale struct {
|
||||
|
@ -558,12 +559,13 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibrary struct {
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran `json:"cran,omitempty"`
|
||||
Maven *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi `json:"pypi,omitempty"`
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran `json:"cran,omitempty"`
|
||||
Maven *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi `json:"pypi,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale struct {
|
||||
|
@ -896,12 +898,13 @@ type DataSourceJobJobSettingsSettingsTaskLibraryPypi struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskLibrary struct {
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *DataSourceJobJobSettingsSettingsTaskLibraryCran `json:"cran,omitempty"`
|
||||
Maven *DataSourceJobJobSettingsSettingsTaskLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *DataSourceJobJobSettingsSettingsTaskLibraryPypi `json:"pypi,omitempty"`
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *DataSourceJobJobSettingsSettingsTaskLibraryCran `json:"cran,omitempty"`
|
||||
Maven *DataSourceJobJobSettingsSettingsTaskLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *DataSourceJobJobSettingsSettingsTaskLibraryPypi `json:"pypi,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskNewClusterAutoscale struct {
|
||||
|
|
|
@ -146,12 +146,13 @@ type ResourceClusterLibraryPypi struct {
|
|||
}
|
||||
|
||||
type ResourceClusterLibrary struct {
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceClusterLibraryCran `json:"cran,omitempty"`
|
||||
Maven *ResourceClusterLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceClusterLibraryPypi `json:"pypi,omitempty"`
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceClusterLibraryCran `json:"cran,omitempty"`
|
||||
Maven *ResourceClusterLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceClusterLibraryPypi `json:"pypi,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceClusterWorkloadTypeClients struct {
|
||||
|
|
|
@ -19,12 +19,13 @@ type ResourceClusterPolicyLibrariesPypi struct {
|
|||
}
|
||||
|
||||
type ResourceClusterPolicyLibraries struct {
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceClusterPolicyLibrariesCran `json:"cran,omitempty"`
|
||||
Maven *ResourceClusterPolicyLibrariesMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceClusterPolicyLibrariesPypi `json:"pypi,omitempty"`
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceClusterPolicyLibrariesCran `json:"cran,omitempty"`
|
||||
Maven *ResourceClusterPolicyLibrariesMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceClusterPolicyLibrariesPypi `json:"pypi,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceClusterPolicy struct {
|
||||
|
|
|
@ -243,12 +243,13 @@ type ResourceJobLibraryPypi struct {
|
|||
}
|
||||
|
||||
type ResourceJobLibrary struct {
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceJobLibraryCran `json:"cran,omitempty"`
|
||||
Maven *ResourceJobLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceJobLibraryPypi `json:"pypi,omitempty"`
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceJobLibraryCran `json:"cran,omitempty"`
|
||||
Maven *ResourceJobLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceJobLibraryPypi `json:"pypi,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobNewClusterAutoscale struct {
|
||||
|
@ -558,12 +559,13 @@ type ResourceJobTaskForEachTaskTaskLibraryPypi struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskLibrary struct {
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceJobTaskForEachTaskTaskLibraryCran `json:"cran,omitempty"`
|
||||
Maven *ResourceJobTaskForEachTaskTaskLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceJobTaskForEachTaskTaskLibraryPypi `json:"pypi,omitempty"`
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceJobTaskForEachTaskTaskLibraryCran `json:"cran,omitempty"`
|
||||
Maven *ResourceJobTaskForEachTaskTaskLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceJobTaskForEachTaskTaskLibraryPypi `json:"pypi,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskNewClusterAutoscale struct {
|
||||
|
@ -896,12 +898,13 @@ type ResourceJobTaskLibraryPypi struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskLibrary struct {
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceJobTaskLibraryCran `json:"cran,omitempty"`
|
||||
Maven *ResourceJobTaskLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceJobTaskLibraryPypi `json:"pypi,omitempty"`
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceJobTaskLibraryCran `json:"cran,omitempty"`
|
||||
Maven *ResourceJobTaskLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceJobTaskLibraryPypi `json:"pypi,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskNewClusterAutoscale struct {
|
||||
|
|
|
@ -19,12 +19,13 @@ type ResourceLibraryPypi struct {
|
|||
}
|
||||
|
||||
type ResourceLibrary struct {
|
||||
ClusterId string `json:"cluster_id"`
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceLibraryCran `json:"cran,omitempty"`
|
||||
Maven *ResourceLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceLibraryPypi `json:"pypi,omitempty"`
|
||||
ClusterId string `json:"cluster_id"`
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *ResourceLibraryCran `json:"cran,omitempty"`
|
||||
Maven *ResourceLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *ResourceLibraryPypi `json:"pypi,omitempty"`
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
||||
|
||||
package schema
|
||||
|
||||
type ResourceMwsNccBinding struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
NetworkConnectivityConfigId string `json:"network_connectivity_config_id"`
|
||||
WorkspaceId int `json:"workspace_id"`
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
||||
|
||||
package schema
|
||||
|
||||
type ResourceMwsNccPrivateEndpointRule struct {
|
||||
ConnectionState string `json:"connection_state,omitempty"`
|
||||
CreationTime int `json:"creation_time,omitempty"`
|
||||
Deactivated bool `json:"deactivated,omitempty"`
|
||||
DeactivatedAt int `json:"deactivated_at,omitempty"`
|
||||
EndpointName string `json:"endpoint_name,omitempty"`
|
||||
GroupId string `json:"group_id"`
|
||||
Id string `json:"id,omitempty"`
|
||||
NetworkConnectivityConfigId string `json:"network_connectivity_config_id"`
|
||||
ResourceId string `json:"resource_id"`
|
||||
RuleId string `json:"rule_id,omitempty"`
|
||||
UpdatedTime int `json:"updated_time,omitempty"`
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
||||
|
||||
package schema
|
||||
|
||||
type ResourceMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule struct {
|
||||
CidrBlocks []string `json:"cidr_blocks,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule struct {
|
||||
Subnets []string `json:"subnets,omitempty"`
|
||||
TargetRegion string `json:"target_region,omitempty"`
|
||||
TargetServices []string `json:"target_services,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceMwsNetworkConnectivityConfigEgressConfigDefaultRules struct {
|
||||
AwsStableIpRule *ResourceMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule `json:"aws_stable_ip_rule,omitempty"`
|
||||
AzureServiceEndpointRule *ResourceMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule `json:"azure_service_endpoint_rule,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRules struct {
|
||||
ConnectionState string `json:"connection_state,omitempty"`
|
||||
CreationTime int `json:"creation_time,omitempty"`
|
||||
Deactivated bool `json:"deactivated,omitempty"`
|
||||
DeactivatedAt int `json:"deactivated_at,omitempty"`
|
||||
EndpointName string `json:"endpoint_name,omitempty"`
|
||||
GroupId string `json:"group_id,omitempty"`
|
||||
NetworkConnectivityConfigId string `json:"network_connectivity_config_id,omitempty"`
|
||||
ResourceId string `json:"resource_id,omitempty"`
|
||||
RuleId string `json:"rule_id,omitempty"`
|
||||
UpdatedTime int `json:"updated_time,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceMwsNetworkConnectivityConfigEgressConfigTargetRules struct {
|
||||
AzurePrivateEndpointRules []ResourceMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRules `json:"azure_private_endpoint_rules,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceMwsNetworkConnectivityConfigEgressConfig struct {
|
||||
DefaultRules *ResourceMwsNetworkConnectivityConfigEgressConfigDefaultRules `json:"default_rules,omitempty"`
|
||||
TargetRules *ResourceMwsNetworkConnectivityConfigEgressConfigTargetRules `json:"target_rules,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceMwsNetworkConnectivityConfig struct {
|
||||
AccountId string `json:"account_id,omitempty"`
|
||||
CreationTime int `json:"creation_time,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
NetworkConnectivityConfigId string `json:"network_connectivity_config_id,omitempty"`
|
||||
Region string `json:"region"`
|
||||
UpdatedTime int `json:"updated_time,omitempty"`
|
||||
EgressConfig *ResourceMwsNetworkConnectivityConfigEgressConfig `json:"egress_config,omitempty"`
|
||||
}
|
|
@ -45,6 +45,9 @@ type Resources struct {
|
|||
MwsCredentials map[string]any `json:"databricks_mws_credentials,omitempty"`
|
||||
MwsCustomerManagedKeys map[string]any `json:"databricks_mws_customer_managed_keys,omitempty"`
|
||||
MwsLogDelivery map[string]any `json:"databricks_mws_log_delivery,omitempty"`
|
||||
MwsNccBinding map[string]any `json:"databricks_mws_ncc_binding,omitempty"`
|
||||
MwsNccPrivateEndpointRule map[string]any `json:"databricks_mws_ncc_private_endpoint_rule,omitempty"`
|
||||
MwsNetworkConnectivityConfig map[string]any `json:"databricks_mws_network_connectivity_config,omitempty"`
|
||||
MwsNetworks map[string]any `json:"databricks_mws_networks,omitempty"`
|
||||
MwsPermissionAssignment map[string]any `json:"databricks_mws_permission_assignment,omitempty"`
|
||||
MwsPrivateAccessSettings map[string]any `json:"databricks_mws_private_access_settings,omitempty"`
|
||||
|
@ -137,6 +140,9 @@ func NewResources() *Resources {
|
|||
MwsCredentials: make(map[string]any),
|
||||
MwsCustomerManagedKeys: make(map[string]any),
|
||||
MwsLogDelivery: make(map[string]any),
|
||||
MwsNccBinding: make(map[string]any),
|
||||
MwsNccPrivateEndpointRule: make(map[string]any),
|
||||
MwsNetworkConnectivityConfig: make(map[string]any),
|
||||
MwsNetworks: make(map[string]any),
|
||||
MwsPermissionAssignment: make(map[string]any),
|
||||
MwsPrivateAccessSettings: make(map[string]any),
|
||||
|
|
|
@ -21,7 +21,7 @@ type Root struct {
|
|||
|
||||
const ProviderHost = "registry.terraform.io"
|
||||
const ProviderSource = "databricks/databricks"
|
||||
const ProviderVersion = "1.40.0"
|
||||
const ProviderVersion = "1.42.0"
|
||||
|
||||
func NewRoot() *Root {
|
||||
return &Root{
|
||||
|
|
Loading…
Reference in New Issue