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
|
package schema
|
||||||
|
|
||||||
const ProviderVersion = "1.40.0"
|
const ProviderVersion = "1.42.0"
|
||||||
|
|
|
@ -245,6 +245,7 @@ type DataSourceJobJobSettingsSettingsLibraryPypi struct {
|
||||||
type DataSourceJobJobSettingsSettingsLibrary struct {
|
type DataSourceJobJobSettingsSettingsLibrary struct {
|
||||||
Egg string `json:"egg,omitempty"`
|
Egg string `json:"egg,omitempty"`
|
||||||
Jar string `json:"jar,omitempty"`
|
Jar string `json:"jar,omitempty"`
|
||||||
|
Requirements string `json:"requirements,omitempty"`
|
||||||
Whl string `json:"whl,omitempty"`
|
Whl string `json:"whl,omitempty"`
|
||||||
Cran *DataSourceJobJobSettingsSettingsLibraryCran `json:"cran,omitempty"`
|
Cran *DataSourceJobJobSettingsSettingsLibraryCran `json:"cran,omitempty"`
|
||||||
Maven *DataSourceJobJobSettingsSettingsLibraryMaven `json:"maven,omitempty"`
|
Maven *DataSourceJobJobSettingsSettingsLibraryMaven `json:"maven,omitempty"`
|
||||||
|
@ -560,6 +561,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi struct {
|
||||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibrary struct {
|
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibrary struct {
|
||||||
Egg string `json:"egg,omitempty"`
|
Egg string `json:"egg,omitempty"`
|
||||||
Jar string `json:"jar,omitempty"`
|
Jar string `json:"jar,omitempty"`
|
||||||
|
Requirements string `json:"requirements,omitempty"`
|
||||||
Whl string `json:"whl,omitempty"`
|
Whl string `json:"whl,omitempty"`
|
||||||
Cran *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran `json:"cran,omitempty"`
|
Cran *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran `json:"cran,omitempty"`
|
||||||
Maven *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven `json:"maven,omitempty"`
|
Maven *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven `json:"maven,omitempty"`
|
||||||
|
@ -898,6 +900,7 @@ type DataSourceJobJobSettingsSettingsTaskLibraryPypi struct {
|
||||||
type DataSourceJobJobSettingsSettingsTaskLibrary struct {
|
type DataSourceJobJobSettingsSettingsTaskLibrary struct {
|
||||||
Egg string `json:"egg,omitempty"`
|
Egg string `json:"egg,omitempty"`
|
||||||
Jar string `json:"jar,omitempty"`
|
Jar string `json:"jar,omitempty"`
|
||||||
|
Requirements string `json:"requirements,omitempty"`
|
||||||
Whl string `json:"whl,omitempty"`
|
Whl string `json:"whl,omitempty"`
|
||||||
Cran *DataSourceJobJobSettingsSettingsTaskLibraryCran `json:"cran,omitempty"`
|
Cran *DataSourceJobJobSettingsSettingsTaskLibraryCran `json:"cran,omitempty"`
|
||||||
Maven *DataSourceJobJobSettingsSettingsTaskLibraryMaven `json:"maven,omitempty"`
|
Maven *DataSourceJobJobSettingsSettingsTaskLibraryMaven `json:"maven,omitempty"`
|
||||||
|
|
|
@ -148,6 +148,7 @@ type ResourceClusterLibraryPypi struct {
|
||||||
type ResourceClusterLibrary struct {
|
type ResourceClusterLibrary struct {
|
||||||
Egg string `json:"egg,omitempty"`
|
Egg string `json:"egg,omitempty"`
|
||||||
Jar string `json:"jar,omitempty"`
|
Jar string `json:"jar,omitempty"`
|
||||||
|
Requirements string `json:"requirements,omitempty"`
|
||||||
Whl string `json:"whl,omitempty"`
|
Whl string `json:"whl,omitempty"`
|
||||||
Cran *ResourceClusterLibraryCran `json:"cran,omitempty"`
|
Cran *ResourceClusterLibraryCran `json:"cran,omitempty"`
|
||||||
Maven *ResourceClusterLibraryMaven `json:"maven,omitempty"`
|
Maven *ResourceClusterLibraryMaven `json:"maven,omitempty"`
|
||||||
|
|
|
@ -21,6 +21,7 @@ type ResourceClusterPolicyLibrariesPypi struct {
|
||||||
type ResourceClusterPolicyLibraries struct {
|
type ResourceClusterPolicyLibraries struct {
|
||||||
Egg string `json:"egg,omitempty"`
|
Egg string `json:"egg,omitempty"`
|
||||||
Jar string `json:"jar,omitempty"`
|
Jar string `json:"jar,omitempty"`
|
||||||
|
Requirements string `json:"requirements,omitempty"`
|
||||||
Whl string `json:"whl,omitempty"`
|
Whl string `json:"whl,omitempty"`
|
||||||
Cran *ResourceClusterPolicyLibrariesCran `json:"cran,omitempty"`
|
Cran *ResourceClusterPolicyLibrariesCran `json:"cran,omitempty"`
|
||||||
Maven *ResourceClusterPolicyLibrariesMaven `json:"maven,omitempty"`
|
Maven *ResourceClusterPolicyLibrariesMaven `json:"maven,omitempty"`
|
||||||
|
|
|
@ -245,6 +245,7 @@ type ResourceJobLibraryPypi struct {
|
||||||
type ResourceJobLibrary struct {
|
type ResourceJobLibrary struct {
|
||||||
Egg string `json:"egg,omitempty"`
|
Egg string `json:"egg,omitempty"`
|
||||||
Jar string `json:"jar,omitempty"`
|
Jar string `json:"jar,omitempty"`
|
||||||
|
Requirements string `json:"requirements,omitempty"`
|
||||||
Whl string `json:"whl,omitempty"`
|
Whl string `json:"whl,omitempty"`
|
||||||
Cran *ResourceJobLibraryCran `json:"cran,omitempty"`
|
Cran *ResourceJobLibraryCran `json:"cran,omitempty"`
|
||||||
Maven *ResourceJobLibraryMaven `json:"maven,omitempty"`
|
Maven *ResourceJobLibraryMaven `json:"maven,omitempty"`
|
||||||
|
@ -560,6 +561,7 @@ type ResourceJobTaskForEachTaskTaskLibraryPypi struct {
|
||||||
type ResourceJobTaskForEachTaskTaskLibrary struct {
|
type ResourceJobTaskForEachTaskTaskLibrary struct {
|
||||||
Egg string `json:"egg,omitempty"`
|
Egg string `json:"egg,omitempty"`
|
||||||
Jar string `json:"jar,omitempty"`
|
Jar string `json:"jar,omitempty"`
|
||||||
|
Requirements string `json:"requirements,omitempty"`
|
||||||
Whl string `json:"whl,omitempty"`
|
Whl string `json:"whl,omitempty"`
|
||||||
Cran *ResourceJobTaskForEachTaskTaskLibraryCran `json:"cran,omitempty"`
|
Cran *ResourceJobTaskForEachTaskTaskLibraryCran `json:"cran,omitempty"`
|
||||||
Maven *ResourceJobTaskForEachTaskTaskLibraryMaven `json:"maven,omitempty"`
|
Maven *ResourceJobTaskForEachTaskTaskLibraryMaven `json:"maven,omitempty"`
|
||||||
|
@ -898,6 +900,7 @@ type ResourceJobTaskLibraryPypi struct {
|
||||||
type ResourceJobTaskLibrary struct {
|
type ResourceJobTaskLibrary struct {
|
||||||
Egg string `json:"egg,omitempty"`
|
Egg string `json:"egg,omitempty"`
|
||||||
Jar string `json:"jar,omitempty"`
|
Jar string `json:"jar,omitempty"`
|
||||||
|
Requirements string `json:"requirements,omitempty"`
|
||||||
Whl string `json:"whl,omitempty"`
|
Whl string `json:"whl,omitempty"`
|
||||||
Cran *ResourceJobTaskLibraryCran `json:"cran,omitempty"`
|
Cran *ResourceJobTaskLibraryCran `json:"cran,omitempty"`
|
||||||
Maven *ResourceJobTaskLibraryMaven `json:"maven,omitempty"`
|
Maven *ResourceJobTaskLibraryMaven `json:"maven,omitempty"`
|
||||||
|
|
|
@ -23,6 +23,7 @@ type ResourceLibrary struct {
|
||||||
Egg string `json:"egg,omitempty"`
|
Egg string `json:"egg,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
Jar string `json:"jar,omitempty"`
|
Jar string `json:"jar,omitempty"`
|
||||||
|
Requirements string `json:"requirements,omitempty"`
|
||||||
Whl string `json:"whl,omitempty"`
|
Whl string `json:"whl,omitempty"`
|
||||||
Cran *ResourceLibraryCran `json:"cran,omitempty"`
|
Cran *ResourceLibraryCran `json:"cran,omitempty"`
|
||||||
Maven *ResourceLibraryMaven `json:"maven,omitempty"`
|
Maven *ResourceLibraryMaven `json:"maven,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"`
|
MwsCredentials map[string]any `json:"databricks_mws_credentials,omitempty"`
|
||||||
MwsCustomerManagedKeys map[string]any `json:"databricks_mws_customer_managed_keys,omitempty"`
|
MwsCustomerManagedKeys map[string]any `json:"databricks_mws_customer_managed_keys,omitempty"`
|
||||||
MwsLogDelivery map[string]any `json:"databricks_mws_log_delivery,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"`
|
MwsNetworks map[string]any `json:"databricks_mws_networks,omitempty"`
|
||||||
MwsPermissionAssignment map[string]any `json:"databricks_mws_permission_assignment,omitempty"`
|
MwsPermissionAssignment map[string]any `json:"databricks_mws_permission_assignment,omitempty"`
|
||||||
MwsPrivateAccessSettings map[string]any `json:"databricks_mws_private_access_settings,omitempty"`
|
MwsPrivateAccessSettings map[string]any `json:"databricks_mws_private_access_settings,omitempty"`
|
||||||
|
@ -137,6 +140,9 @@ func NewResources() *Resources {
|
||||||
MwsCredentials: make(map[string]any),
|
MwsCredentials: make(map[string]any),
|
||||||
MwsCustomerManagedKeys: make(map[string]any),
|
MwsCustomerManagedKeys: make(map[string]any),
|
||||||
MwsLogDelivery: 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),
|
MwsNetworks: make(map[string]any),
|
||||||
MwsPermissionAssignment: make(map[string]any),
|
MwsPermissionAssignment: make(map[string]any),
|
||||||
MwsPrivateAccessSettings: make(map[string]any),
|
MwsPrivateAccessSettings: make(map[string]any),
|
||||||
|
|
|
@ -21,7 +21,7 @@ type Root struct {
|
||||||
|
|
||||||
const ProviderHost = "registry.terraform.io"
|
const ProviderHost = "registry.terraform.io"
|
||||||
const ProviderSource = "databricks/databricks"
|
const ProviderSource = "databricks/databricks"
|
||||||
const ProviderVersion = "1.40.0"
|
const ProviderVersion = "1.42.0"
|
||||||
|
|
||||||
func NewRoot() *Root {
|
func NewRoot() *Root {
|
||||||
return &Root{
|
return &Root{
|
||||||
|
|
Loading…
Reference in New Issue