Upgrade TF provider to 1.64.1 (#2247)

## Changes
- Added support for `no_compute` in Apps
- Added support for `run_as_repl` for job tasks
This commit is contained in:
Andrew Nester 2025-01-28 15:34:44 +01:00 committed by GitHub
parent 4ba222ab36
commit 099e9bed0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,3 @@
package schema package schema
const ProviderVersion = "1.63.0" const ProviderVersion = "1.64.1"

View File

@ -3,7 +3,7 @@
package schema package schema
type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsInputPii struct { type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsInputPii struct {
Behavior string `json:"behavior"` Behavior string `json:"behavior,omitempty"`
} }
type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsInput struct { type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsInput struct {
@ -14,7 +14,7 @@ type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsInput struct {
} }
type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsOutputPii struct { type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsOutputPii struct {
Behavior string `json:"behavior"` Behavior string `json:"behavior,omitempty"`
} }
type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsOutput struct { type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsOutput struct {
@ -87,8 +87,8 @@ type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelDatabri
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelGoogleCloudVertexAiConfig struct { type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelGoogleCloudVertexAiConfig struct {
PrivateKey string `json:"private_key,omitempty"` PrivateKey string `json:"private_key,omitempty"`
PrivateKeyPlaintext string `json:"private_key_plaintext,omitempty"` PrivateKeyPlaintext string `json:"private_key_plaintext,omitempty"`
ProjectId string `json:"project_id,omitempty"` ProjectId string `json:"project_id"`
Region string `json:"region,omitempty"` Region string `json:"region"`
} }
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelOpenaiConfig struct { type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelOpenaiConfig struct {

View File

@ -91,6 +91,7 @@ type ResourceApp struct {
DefaultSourceCodePath string `json:"default_source_code_path,omitempty"` DefaultSourceCodePath string `json:"default_source_code_path,omitempty"`
Description string `json:"description,omitempty"` Description string `json:"description,omitempty"`
Name string `json:"name"` Name string `json:"name"`
NoCompute bool `json:"no_compute,omitempty"`
PendingDeployment *ResourceAppPendingDeployment `json:"pending_deployment,omitempty"` PendingDeployment *ResourceAppPendingDeployment `json:"pending_deployment,omitempty"`
Resources []ResourceAppResources `json:"resources,omitempty"` Resources []ResourceAppResources `json:"resources,omitempty"`
ServicePrincipalClientId string `json:"service_principal_client_id,omitempty"` ServicePrincipalClientId string `json:"service_principal_client_id,omitempty"`

View File

@ -904,6 +904,7 @@ type ResourceJobTaskForEachTaskTaskSparkJarTask struct {
JarUri string `json:"jar_uri,omitempty"` JarUri string `json:"jar_uri,omitempty"`
MainClassName string `json:"main_class_name,omitempty"` MainClassName string `json:"main_class_name,omitempty"`
Parameters []string `json:"parameters,omitempty"` Parameters []string `json:"parameters,omitempty"`
RunAsRepl bool `json:"run_as_repl,omitempty"`
} }
type ResourceJobTaskForEachTaskTaskSparkPythonTask struct { type ResourceJobTaskForEachTaskTaskSparkPythonTask struct {
@ -1299,6 +1300,7 @@ type ResourceJobTaskSparkJarTask struct {
JarUri string `json:"jar_uri,omitempty"` JarUri string `json:"jar_uri,omitempty"`
MainClassName string `json:"main_class_name,omitempty"` MainClassName string `json:"main_class_name,omitempty"`
Parameters []string `json:"parameters,omitempty"` Parameters []string `json:"parameters,omitempty"`
RunAsRepl bool `json:"run_as_repl,omitempty"`
} }
type ResourceJobTaskSparkPythonTask struct { type ResourceJobTaskSparkPythonTask struct {

View File

@ -3,7 +3,7 @@
package schema package schema
type ResourceModelServingAiGatewayGuardrailsInputPii struct { type ResourceModelServingAiGatewayGuardrailsInputPii struct {
Behavior string `json:"behavior"` Behavior string `json:"behavior,omitempty"`
} }
type ResourceModelServingAiGatewayGuardrailsInput struct { type ResourceModelServingAiGatewayGuardrailsInput struct {
@ -14,7 +14,7 @@ type ResourceModelServingAiGatewayGuardrailsInput struct {
} }
type ResourceModelServingAiGatewayGuardrailsOutputPii struct { type ResourceModelServingAiGatewayGuardrailsOutputPii struct {
Behavior string `json:"behavior"` Behavior string `json:"behavior,omitempty"`
} }
type ResourceModelServingAiGatewayGuardrailsOutput struct { type ResourceModelServingAiGatewayGuardrailsOutput struct {
@ -94,8 +94,8 @@ type ResourceModelServingConfigServedEntitiesExternalModelDatabricksModelServing
type ResourceModelServingConfigServedEntitiesExternalModelGoogleCloudVertexAiConfig struct { type ResourceModelServingConfigServedEntitiesExternalModelGoogleCloudVertexAiConfig struct {
PrivateKey string `json:"private_key,omitempty"` PrivateKey string `json:"private_key,omitempty"`
PrivateKeyPlaintext string `json:"private_key_plaintext,omitempty"` PrivateKeyPlaintext string `json:"private_key_plaintext,omitempty"`
ProjectId string `json:"project_id,omitempty"` ProjectId string `json:"project_id"`
Region string `json:"region,omitempty"` Region string `json:"region"`
} }
type ResourceModelServingConfigServedEntitiesExternalModelOpenaiConfig struct { type ResourceModelServingConfigServedEntitiesExternalModelOpenaiConfig struct {

View File

@ -29,6 +29,7 @@ type ResourceRecipient struct {
CreatedAt int `json:"created_at,omitempty"` CreatedAt int `json:"created_at,omitempty"`
CreatedBy string `json:"created_by,omitempty"` CreatedBy string `json:"created_by,omitempty"`
DataRecipientGlobalMetastoreId string `json:"data_recipient_global_metastore_id,omitempty"` DataRecipientGlobalMetastoreId string `json:"data_recipient_global_metastore_id,omitempty"`
ExpirationTime int `json:"expiration_time,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
MetastoreId string `json:"metastore_id,omitempty"` MetastoreId string `json:"metastore_id,omitempty"`
Name string `json:"name"` Name string `json:"name"`

View File

@ -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.63.0" const ProviderVersion = "1.64.1"
func NewRoot() *Root { func NewRoot() *Root {
return &Root{ return &Root{