diff --git a/bundle/internal/tf/codegen/schema/version.go b/bundle/internal/tf/codegen/schema/version.go index 1228a0ce68..f3261bdabf 100644 --- a/bundle/internal/tf/codegen/schema/version.go +++ b/bundle/internal/tf/codegen/schema/version.go @@ -1,3 +1,3 @@ package schema -const ProviderVersion = "1.104.0" +const ProviderVersion = "1.105.0" diff --git a/bundle/internal/tf/schema/config.go b/bundle/internal/tf/schema/config.go index f60b9f2bd2..962154a01b 100644 --- a/bundle/internal/tf/schema/config.go +++ b/bundle/internal/tf/schema/config.go @@ -3,43 +3,44 @@ package schema type Config struct { - AccountId string `json:"account_id,omitempty"` - ActionsIdTokenRequestToken string `json:"actions_id_token_request_token,omitempty"` - ActionsIdTokenRequestUrl string `json:"actions_id_token_request_url,omitempty"` - Audience string `json:"audience,omitempty"` - AuthType string `json:"auth_type,omitempty"` - AzureClientId string `json:"azure_client_id,omitempty"` - AzureClientSecret string `json:"azure_client_secret,omitempty"` - AzureEnvironment string `json:"azure_environment,omitempty"` - AzureLoginAppId string `json:"azure_login_app_id,omitempty"` - AzureTenantId string `json:"azure_tenant_id,omitempty"` - AzureUseMsi bool `json:"azure_use_msi,omitempty"` - AzureWorkspaceResourceId string `json:"azure_workspace_resource_id,omitempty"` - ClientId string `json:"client_id,omitempty"` - ClientSecret string `json:"client_secret,omitempty"` - ClusterId string `json:"cluster_id,omitempty"` - ConfigFile string `json:"config_file,omitempty"` - DatabricksCliPath string `json:"databricks_cli_path,omitempty"` - DatabricksIdTokenFilepath string `json:"databricks_id_token_filepath,omitempty"` - DebugHeaders bool `json:"debug_headers,omitempty"` - DebugTruncateBytes int `json:"debug_truncate_bytes,omitempty"` - DisableOauthRefreshToken bool `json:"disable_oauth_refresh_token,omitempty"` - ExperimentalIsUnifiedHost bool `json:"experimental_is_unified_host,omitempty"` - GoogleCredentials string `json:"google_credentials,omitempty"` - GoogleServiceAccount string `json:"google_service_account,omitempty"` - Host string `json:"host,omitempty"` - HttpTimeoutSeconds int `json:"http_timeout_seconds,omitempty"` - MetadataServiceUrl string `json:"metadata_service_url,omitempty"` - OauthCallbackPort int `json:"oauth_callback_port,omitempty"` - OidcTokenEnv string `json:"oidc_token_env,omitempty"` - Password string `json:"password,omitempty"` - Profile string `json:"profile,omitempty"` - RateLimit int `json:"rate_limit,omitempty"` - RetryTimeoutSeconds int `json:"retry_timeout_seconds,omitempty"` - ServerlessComputeId string `json:"serverless_compute_id,omitempty"` - SkipVerify bool `json:"skip_verify,omitempty"` - Token string `json:"token,omitempty"` - Username string `json:"username,omitempty"` - WarehouseId string `json:"warehouse_id,omitempty"` - WorkspaceId string `json:"workspace_id,omitempty"` + AccountId string `json:"account_id,omitempty"` + ActionsIdTokenRequestToken string `json:"actions_id_token_request_token,omitempty"` + ActionsIdTokenRequestUrl string `json:"actions_id_token_request_url,omitempty"` + Audience string `json:"audience,omitempty"` + AuthType string `json:"auth_type,omitempty"` + AzureClientId string `json:"azure_client_id,omitempty"` + AzureClientSecret string `json:"azure_client_secret,omitempty"` + AzureEnvironment string `json:"azure_environment,omitempty"` + AzureLoginAppId string `json:"azure_login_app_id,omitempty"` + AzureTenantId string `json:"azure_tenant_id,omitempty"` + AzureUseMsi bool `json:"azure_use_msi,omitempty"` + AzureWorkspaceResourceId string `json:"azure_workspace_resource_id,omitempty"` + ClientId string `json:"client_id,omitempty"` + ClientSecret string `json:"client_secret,omitempty"` + ClusterId string `json:"cluster_id,omitempty"` + ConfigFile string `json:"config_file,omitempty"` + DatabricksCliPath string `json:"databricks_cli_path,omitempty"` + DatabricksIdTokenFilepath string `json:"databricks_id_token_filepath,omitempty"` + DebugHeaders bool `json:"debug_headers,omitempty"` + DebugTruncateBytes int `json:"debug_truncate_bytes,omitempty"` + DisableOauthRefreshToken bool `json:"disable_oauth_refresh_token,omitempty"` + ExperimentalIsUnifiedHost bool `json:"experimental_is_unified_host,omitempty"` + GoogleCredentials string `json:"google_credentials,omitempty"` + GoogleServiceAccount string `json:"google_service_account,omitempty"` + Host string `json:"host,omitempty"` + HttpTimeoutSeconds int `json:"http_timeout_seconds,omitempty"` + MetadataServiceUrl string `json:"metadata_service_url,omitempty"` + OauthCallbackPort int `json:"oauth_callback_port,omitempty"` + OidcTokenEnv string `json:"oidc_token_env,omitempty"` + Password string `json:"password,omitempty"` + Profile string `json:"profile,omitempty"` + RateLimit int `json:"rate_limit,omitempty"` + RetryTimeoutSeconds int `json:"retry_timeout_seconds,omitempty"` + Scopes []string `json:"scopes,omitempty"` + ServerlessComputeId string `json:"serverless_compute_id,omitempty"` + SkipVerify bool `json:"skip_verify,omitempty"` + Token string `json:"token,omitempty"` + Username string `json:"username,omitempty"` + WarehouseId string `json:"warehouse_id,omitempty"` + WorkspaceId string `json:"workspace_id,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_app.go b/bundle/internal/tf/schema/data_source_app.go index faf0aeb11e..26415f2abc 100644 --- a/bundle/internal/tf/schema/data_source_app.go +++ b/bundle/internal/tf/schema/data_source_app.go @@ -51,8 +51,9 @@ type DataSourceAppAppAppStatus struct { } type DataSourceAppAppComputeStatus struct { - Message string `json:"message,omitempty"` - State string `json:"state,omitempty"` + ActiveInstances int `json:"active_instances,omitempty"` + Message string `json:"message,omitempty"` + State string `json:"state,omitempty"` } type DataSourceAppAppGitRepository struct { diff --git a/bundle/internal/tf/schema/data_source_apps.go b/bundle/internal/tf/schema/data_source_apps.go index 632549431a..fd474d931f 100644 --- a/bundle/internal/tf/schema/data_source_apps.go +++ b/bundle/internal/tf/schema/data_source_apps.go @@ -51,8 +51,9 @@ type DataSourceAppsAppAppStatus struct { } type DataSourceAppsAppComputeStatus struct { - Message string `json:"message,omitempty"` - State string `json:"state,omitempty"` + ActiveInstances int `json:"active_instances,omitempty"` + Message string `json:"message,omitempty"` + State string `json:"state,omitempty"` } type DataSourceAppsAppGitRepository struct { diff --git a/bundle/internal/tf/schema/data_source_current_config.go b/bundle/internal/tf/schema/data_source_current_config.go index 52be33fcb3..c59aacc6d9 100644 --- a/bundle/internal/tf/schema/data_source_current_config.go +++ b/bundle/internal/tf/schema/data_source_current_config.go @@ -2,11 +2,16 @@ package schema +type DataSourceCurrentConfigProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceCurrentConfig struct { - AccountId string `json:"account_id,omitempty"` - AuthType string `json:"auth_type,omitempty"` - CloudType string `json:"cloud_type,omitempty"` - Host string `json:"host,omitempty"` - Id string `json:"id,omitempty"` - IsAccount bool `json:"is_account,omitempty"` + AccountId string `json:"account_id,omitempty"` + AuthType string `json:"auth_type,omitempty"` + CloudType string `json:"cloud_type,omitempty"` + Host string `json:"host,omitempty"` + Id string `json:"id,omitempty"` + IsAccount bool `json:"is_account,omitempty"` + ProviderConfig *DataSourceCurrentConfigProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_current_user.go b/bundle/internal/tf/schema/data_source_current_user.go index d59e646152..cdf33ade24 100644 --- a/bundle/internal/tf/schema/data_source_current_user.go +++ b/bundle/internal/tf/schema/data_source_current_user.go @@ -2,13 +2,18 @@ package schema +type DataSourceCurrentUserProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceCurrentUser struct { - AclPrincipalId string `json:"acl_principal_id,omitempty"` - Alphanumeric string `json:"alphanumeric,omitempty"` - ExternalId string `json:"external_id,omitempty"` - Home string `json:"home,omitempty"` - Id string `json:"id,omitempty"` - Repos string `json:"repos,omitempty"` - UserName string `json:"user_name,omitempty"` - WorkspaceUrl string `json:"workspace_url,omitempty"` + AclPrincipalId string `json:"acl_principal_id,omitempty"` + Alphanumeric string `json:"alphanumeric,omitempty"` + ExternalId string `json:"external_id,omitempty"` + Home string `json:"home,omitempty"` + Id string `json:"id,omitempty"` + Repos string `json:"repos,omitempty"` + UserName string `json:"user_name,omitempty"` + WorkspaceUrl string `json:"workspace_url,omitempty"` + ProviderConfig *DataSourceCurrentUserProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_dbfs_file.go b/bundle/internal/tf/schema/data_source_dbfs_file.go index 010ba00730..dfd0dc37cd 100644 --- a/bundle/internal/tf/schema/data_source_dbfs_file.go +++ b/bundle/internal/tf/schema/data_source_dbfs_file.go @@ -2,10 +2,15 @@ package schema +type DataSourceDbfsFileProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceDbfsFile struct { - Content string `json:"content,omitempty"` - FileSize int `json:"file_size,omitempty"` - Id string `json:"id,omitempty"` - LimitFileSize bool `json:"limit_file_size"` - Path string `json:"path"` + Content string `json:"content,omitempty"` + FileSize int `json:"file_size,omitempty"` + Id string `json:"id,omitempty"` + LimitFileSize bool `json:"limit_file_size"` + Path string `json:"path"` + ProviderConfig *DataSourceDbfsFileProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_dbfs_file_paths.go b/bundle/internal/tf/schema/data_source_dbfs_file_paths.go index 3a3a39fa5a..8a3fbde369 100644 --- a/bundle/internal/tf/schema/data_source_dbfs_file_paths.go +++ b/bundle/internal/tf/schema/data_source_dbfs_file_paths.go @@ -2,9 +2,14 @@ package schema +type DataSourceDbfsFilePathsProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceDbfsFilePaths struct { - Id string `json:"id,omitempty"` - Path string `json:"path"` - PathList []any `json:"path_list,omitempty"` - Recursive bool `json:"recursive"` + Id string `json:"id,omitempty"` + Path string `json:"path"` + PathList []any `json:"path_list,omitempty"` + Recursive bool `json:"recursive"` + ProviderConfig *DataSourceDbfsFilePathsProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go index 07dd52d329..55b707ca56 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go @@ -6,6 +6,16 @@ type DataSourceFeatureEngineeringKafkaConfigAuthConfig struct { UcServiceCredentialName string `json:"uc_service_credential_name,omitempty"` } +type DataSourceFeatureEngineeringKafkaConfigBackfillSourceDeltaTableSource struct { + EntityColumns []string `json:"entity_columns"` + FullName string `json:"full_name"` + TimeseriesColumn string `json:"timeseries_column"` +} + +type DataSourceFeatureEngineeringKafkaConfigBackfillSource struct { + DeltaTableSource *DataSourceFeatureEngineeringKafkaConfigBackfillSourceDeltaTableSource `json:"delta_table_source,omitempty"` +} + type DataSourceFeatureEngineeringKafkaConfigKeySchema struct { JsonSchema string `json:"json_schema,omitempty"` } @@ -22,6 +32,7 @@ type DataSourceFeatureEngineeringKafkaConfigValueSchema struct { type DataSourceFeatureEngineeringKafkaConfig struct { AuthConfig *DataSourceFeatureEngineeringKafkaConfigAuthConfig `json:"auth_config,omitempty"` + BackfillSource *DataSourceFeatureEngineeringKafkaConfigBackfillSource `json:"backfill_source,omitempty"` BootstrapServers string `json:"bootstrap_servers,omitempty"` ExtraOptions map[string]string `json:"extra_options,omitempty"` KeySchema *DataSourceFeatureEngineeringKafkaConfigKeySchema `json:"key_schema,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go index 6d4fbb0726..e0fa7f5bac 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go @@ -6,6 +6,16 @@ type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsAuthConfig struct { UcServiceCredentialName string `json:"uc_service_credential_name,omitempty"` } +type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsBackfillSourceDeltaTableSource struct { + EntityColumns []string `json:"entity_columns"` + FullName string `json:"full_name"` + TimeseriesColumn string `json:"timeseries_column"` +} + +type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsBackfillSource struct { + DeltaTableSource *DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsBackfillSourceDeltaTableSource `json:"delta_table_source,omitempty"` +} + type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsKeySchema struct { JsonSchema string `json:"json_schema,omitempty"` } @@ -22,6 +32,7 @@ type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsValueSchema struct { type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigs struct { AuthConfig *DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsAuthConfig `json:"auth_config,omitempty"` + BackfillSource *DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsBackfillSource `json:"backfill_source,omitempty"` BootstrapServers string `json:"bootstrap_servers,omitempty"` ExtraOptions map[string]string `json:"extra_options,omitempty"` KeySchema *DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsKeySchema `json:"key_schema,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_group.go b/bundle/internal/tf/schema/data_source_group.go index 8d525382fb..26d8199a13 100644 --- a/bundle/internal/tf/schema/data_source_group.go +++ b/bundle/internal/tf/schema/data_source_group.go @@ -2,21 +2,26 @@ package schema +type DataSourceGroupProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceGroup struct { - AclPrincipalId string `json:"acl_principal_id,omitempty"` - AllowClusterCreate bool `json:"allow_cluster_create,omitempty"` - AllowInstancePoolCreate bool `json:"allow_instance_pool_create,omitempty"` - ChildGroups []string `json:"child_groups,omitempty"` - DatabricksSqlAccess bool `json:"databricks_sql_access,omitempty"` - DisplayName string `json:"display_name"` - ExternalId string `json:"external_id,omitempty"` - Groups []string `json:"groups,omitempty"` - Id string `json:"id,omitempty"` - InstanceProfiles []string `json:"instance_profiles,omitempty"` - Members []string `json:"members,omitempty"` - Recursive bool `json:"recursive,omitempty"` - ServicePrincipals []string `json:"service_principals,omitempty"` - Users []string `json:"users,omitempty"` - WorkspaceAccess bool `json:"workspace_access,omitempty"` - WorkspaceConsume bool `json:"workspace_consume,omitempty"` + AclPrincipalId string `json:"acl_principal_id,omitempty"` + AllowClusterCreate bool `json:"allow_cluster_create,omitempty"` + AllowInstancePoolCreate bool `json:"allow_instance_pool_create,omitempty"` + ChildGroups []string `json:"child_groups,omitempty"` + DatabricksSqlAccess bool `json:"databricks_sql_access,omitempty"` + DisplayName string `json:"display_name"` + ExternalId string `json:"external_id,omitempty"` + Groups []string `json:"groups,omitempty"` + Id string `json:"id,omitempty"` + InstanceProfiles []string `json:"instance_profiles,omitempty"` + Members []string `json:"members,omitempty"` + Recursive bool `json:"recursive,omitempty"` + ServicePrincipals []string `json:"service_principals,omitempty"` + Users []string `json:"users,omitempty"` + WorkspaceAccess bool `json:"workspace_access,omitempty"` + WorkspaceConsume bool `json:"workspace_consume,omitempty"` + ProviderConfig *DataSourceGroupProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_instance_pool.go b/bundle/internal/tf/schema/data_source_instance_pool.go index 76a862c933..de236939c7 100644 --- a/bundle/internal/tf/schema/data_source_instance_pool.go +++ b/bundle/internal/tf/schema/data_source_instance_pool.go @@ -90,8 +90,13 @@ type DataSourceInstancePoolPoolInfo struct { Stats *DataSourceInstancePoolPoolInfoStats `json:"stats,omitempty"` } +type DataSourceInstancePoolProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceInstancePool struct { - Id string `json:"id,omitempty"` - Name string `json:"name"` - PoolInfo *DataSourceInstancePoolPoolInfo `json:"pool_info,omitempty"` + Id string `json:"id,omitempty"` + Name string `json:"name"` + PoolInfo *DataSourceInstancePoolPoolInfo `json:"pool_info,omitempty"` + ProviderConfig *DataSourceInstancePoolProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_job.go b/bundle/internal/tf/schema/data_source_job.go index d30b49afa0..63abbc5d4b 100644 --- a/bundle/internal/tf/schema/data_source_job.go +++ b/bundle/internal/tf/schema/data_source_job.go @@ -1419,10 +1419,15 @@ type DataSourceJobJobSettings struct { Settings *DataSourceJobJobSettingsSettings `json:"settings,omitempty"` } +type DataSourceJobProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceJob struct { - Id string `json:"id,omitempty"` - JobId string `json:"job_id,omitempty"` - JobName string `json:"job_name,omitempty"` - Name string `json:"name,omitempty"` - JobSettings *DataSourceJobJobSettings `json:"job_settings,omitempty"` + Id string `json:"id,omitempty"` + JobId string `json:"job_id,omitempty"` + JobName string `json:"job_name,omitempty"` + Name string `json:"name,omitempty"` + JobSettings *DataSourceJobJobSettings `json:"job_settings,omitempty"` + ProviderConfig *DataSourceJobProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_mws_credentials.go b/bundle/internal/tf/schema/data_source_mws_credentials.go index 873138b13b..45fa3f817c 100644 --- a/bundle/internal/tf/schema/data_source_mws_credentials.go +++ b/bundle/internal/tf/schema/data_source_mws_credentials.go @@ -2,7 +2,12 @@ package schema +type DataSourceMwsCredentialsProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceMwsCredentials struct { - Id string `json:"id,omitempty"` - Ids map[string]string `json:"ids,omitempty"` + Id string `json:"id,omitempty"` + Ids map[string]string `json:"ids,omitempty"` + ProviderConfig *DataSourceMwsCredentialsProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_mws_workspaces.go b/bundle/internal/tf/schema/data_source_mws_workspaces.go index 1d3e849116..019a2d3eef 100644 --- a/bundle/internal/tf/schema/data_source_mws_workspaces.go +++ b/bundle/internal/tf/schema/data_source_mws_workspaces.go @@ -2,7 +2,12 @@ package schema +type DataSourceMwsWorkspacesProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceMwsWorkspaces struct { - Id string `json:"id,omitempty"` - Ids map[string]int `json:"ids,omitempty"` + Id string `json:"id,omitempty"` + Ids map[string]int `json:"ids,omitempty"` + ProviderConfig *DataSourceMwsWorkspacesProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_notebook_paths.go b/bundle/internal/tf/schema/data_source_notebook_paths.go index f4e67c8177..871a30812f 100644 --- a/bundle/internal/tf/schema/data_source_notebook_paths.go +++ b/bundle/internal/tf/schema/data_source_notebook_paths.go @@ -2,9 +2,14 @@ package schema +type DataSourceNotebookPathsProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceNotebookPaths struct { - Id string `json:"id,omitempty"` - NotebookPathList []any `json:"notebook_path_list,omitempty"` - Path string `json:"path"` - Recursive bool `json:"recursive"` + Id string `json:"id,omitempty"` + NotebookPathList []any `json:"notebook_path_list,omitempty"` + Path string `json:"path"` + Recursive bool `json:"recursive"` + ProviderConfig *DataSourceNotebookPathsProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_service_principal.go b/bundle/internal/tf/schema/data_source_service_principal.go index 65f7a575bf..86024a87e9 100644 --- a/bundle/internal/tf/schema/data_source_service_principal.go +++ b/bundle/internal/tf/schema/data_source_service_principal.go @@ -2,15 +2,20 @@ package schema +type DataSourceServicePrincipalProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceServicePrincipal struct { - AclPrincipalId string `json:"acl_principal_id,omitempty"` - Active bool `json:"active,omitempty"` - ApplicationId string `json:"application_id,omitempty"` - DisplayName string `json:"display_name,omitempty"` - ExternalId string `json:"external_id,omitempty"` - Home string `json:"home,omitempty"` - Id string `json:"id,omitempty"` - Repos string `json:"repos,omitempty"` - ScimId string `json:"scim_id,omitempty"` - SpId string `json:"sp_id,omitempty"` + AclPrincipalId string `json:"acl_principal_id,omitempty"` + Active bool `json:"active,omitempty"` + ApplicationId string `json:"application_id,omitempty"` + DisplayName string `json:"display_name,omitempty"` + ExternalId string `json:"external_id,omitempty"` + Home string `json:"home,omitempty"` + Id string `json:"id,omitempty"` + Repos string `json:"repos,omitempty"` + ScimId string `json:"scim_id,omitempty"` + SpId string `json:"sp_id,omitempty"` + ProviderConfig *DataSourceServicePrincipalProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_service_principals.go b/bundle/internal/tf/schema/data_source_service_principals.go index 77e96559f2..7a84f68b07 100644 --- a/bundle/internal/tf/schema/data_source_service_principals.go +++ b/bundle/internal/tf/schema/data_source_service_principals.go @@ -2,6 +2,10 @@ package schema +type DataSourceServicePrincipalsProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceServicePrincipalsServicePrincipals struct { AclPrincipalId string `json:"acl_principal_id,omitempty"` Active bool `json:"active,omitempty"` @@ -19,5 +23,6 @@ type DataSourceServicePrincipals struct { ApplicationIds []string `json:"application_ids,omitempty"` DisplayNameContains string `json:"display_name_contains,omitempty"` Id string `json:"id,omitempty"` + ProviderConfig *DataSourceServicePrincipalsProviderConfig `json:"provider_config,omitempty"` ServicePrincipals []DataSourceServicePrincipalsServicePrincipals `json:"service_principals,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_user.go b/bundle/internal/tf/schema/data_source_user.go index ea20c066ea..d70694148b 100644 --- a/bundle/internal/tf/schema/data_source_user.go +++ b/bundle/internal/tf/schema/data_source_user.go @@ -2,16 +2,21 @@ package schema +type DataSourceUserProviderConfig struct { + WorkspaceId string `json:"workspace_id"` +} + type DataSourceUser struct { - AclPrincipalId string `json:"acl_principal_id,omitempty"` - Active bool `json:"active,omitempty"` - Alphanumeric string `json:"alphanumeric,omitempty"` - ApplicationId string `json:"application_id,omitempty"` - DisplayName string `json:"display_name,omitempty"` - ExternalId string `json:"external_id,omitempty"` - Home string `json:"home,omitempty"` - Id string `json:"id,omitempty"` - Repos string `json:"repos,omitempty"` - UserId string `json:"user_id,omitempty"` - UserName string `json:"user_name,omitempty"` + AclPrincipalId string `json:"acl_principal_id,omitempty"` + Active bool `json:"active,omitempty"` + Alphanumeric string `json:"alphanumeric,omitempty"` + ApplicationId string `json:"application_id,omitempty"` + DisplayName string `json:"display_name,omitempty"` + ExternalId string `json:"external_id,omitempty"` + Home string `json:"home,omitempty"` + Id string `json:"id,omitempty"` + Repos string `json:"repos,omitempty"` + UserId string `json:"user_id,omitempty"` + UserName string `json:"user_name,omitempty"` + ProviderConfig *DataSourceUserProviderConfig `json:"provider_config,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_alert_v2.go b/bundle/internal/tf/schema/resource_alert_v2.go index 701bb14b7e..881ceba601 100644 --- a/bundle/internal/tf/schema/resource_alert_v2.go +++ b/bundle/internal/tf/schema/resource_alert_v2.go @@ -75,6 +75,7 @@ type ResourceAlertV2 struct { LifecycleState string `json:"lifecycle_state,omitempty"` OwnerUserName string `json:"owner_user_name,omitempty"` ParentPath string `json:"parent_path,omitempty"` + PurgeOnDelete bool `json:"purge_on_delete,omitempty"` QueryText string `json:"query_text"` RunAs *ResourceAlertV2RunAs `json:"run_as,omitempty"` RunAsUserName string `json:"run_as_user_name,omitempty"` diff --git a/bundle/internal/tf/schema/resource_app.go b/bundle/internal/tf/schema/resource_app.go index c841769f4c..7134b3332a 100644 --- a/bundle/internal/tf/schema/resource_app.go +++ b/bundle/internal/tf/schema/resource_app.go @@ -51,8 +51,9 @@ type ResourceAppAppStatus struct { } type ResourceAppComputeStatus struct { - Message string `json:"message,omitempty"` - State string `json:"state,omitempty"` + ActiveInstances int `json:"active_instances,omitempty"` + Message string `json:"message,omitempty"` + State string `json:"state,omitempty"` } type ResourceAppGitRepository struct { diff --git a/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go b/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go index 2e030975b7..a5ec961bbb 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go @@ -6,6 +6,16 @@ type ResourceFeatureEngineeringKafkaConfigAuthConfig struct { UcServiceCredentialName string `json:"uc_service_credential_name,omitempty"` } +type ResourceFeatureEngineeringKafkaConfigBackfillSourceDeltaTableSource struct { + EntityColumns []string `json:"entity_columns"` + FullName string `json:"full_name"` + TimeseriesColumn string `json:"timeseries_column"` +} + +type ResourceFeatureEngineeringKafkaConfigBackfillSource struct { + DeltaTableSource *ResourceFeatureEngineeringKafkaConfigBackfillSourceDeltaTableSource `json:"delta_table_source,omitempty"` +} + type ResourceFeatureEngineeringKafkaConfigKeySchema struct { JsonSchema string `json:"json_schema,omitempty"` } @@ -22,6 +32,7 @@ type ResourceFeatureEngineeringKafkaConfigValueSchema struct { type ResourceFeatureEngineeringKafkaConfig struct { AuthConfig *ResourceFeatureEngineeringKafkaConfigAuthConfig `json:"auth_config,omitempty"` + BackfillSource *ResourceFeatureEngineeringKafkaConfigBackfillSource `json:"backfill_source,omitempty"` BootstrapServers string `json:"bootstrap_servers"` ExtraOptions map[string]string `json:"extra_options,omitempty"` KeySchema *ResourceFeatureEngineeringKafkaConfigKeySchema `json:"key_schema,omitempty"` diff --git a/bundle/internal/tf/schema/resource_job.go b/bundle/internal/tf/schema/resource_job.go index 43b83454b9..0f65dffa5f 100644 --- a/bundle/internal/tf/schema/resource_job.go +++ b/bundle/internal/tf/schema/resource_job.go @@ -631,6 +631,10 @@ type ResourceJobTaskCleanRoomsNotebookTask struct { NotebookName string `json:"notebook_name"` } +type ResourceJobTaskCompute struct { + HardwareAccelerator string `json:"hardware_accelerator,omitempty"` +} + type ResourceJobTaskConditionTask struct { Left string `json:"left"` Op string `json:"op"` @@ -695,6 +699,10 @@ type ResourceJobTaskForEachTaskTaskCleanRoomsNotebookTask struct { NotebookName string `json:"notebook_name"` } +type ResourceJobTaskForEachTaskTaskCompute struct { + HardwareAccelerator string `json:"hardware_accelerator,omitempty"` +} + type ResourceJobTaskForEachTaskTaskConditionTask struct { Left string `json:"left"` Op string `json:"op"` @@ -1197,6 +1205,7 @@ type ResourceJobTaskForEachTaskTask struct { TaskKey string `json:"task_key"` TimeoutSeconds int `json:"timeout_seconds,omitempty"` CleanRoomsNotebookTask *ResourceJobTaskForEachTaskTaskCleanRoomsNotebookTask `json:"clean_rooms_notebook_task,omitempty"` + Compute *ResourceJobTaskForEachTaskTaskCompute `json:"compute,omitempty"` ConditionTask *ResourceJobTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"` DashboardTask *ResourceJobTaskForEachTaskTaskDashboardTask `json:"dashboard_task,omitempty"` DbtCloudTask *ResourceJobTaskForEachTaskTaskDbtCloudTask `json:"dbt_cloud_task,omitempty"` @@ -1673,6 +1682,7 @@ type ResourceJobTask struct { TaskKey string `json:"task_key"` TimeoutSeconds int `json:"timeout_seconds,omitempty"` CleanRoomsNotebookTask *ResourceJobTaskCleanRoomsNotebookTask `json:"clean_rooms_notebook_task,omitempty"` + Compute *ResourceJobTaskCompute `json:"compute,omitempty"` ConditionTask *ResourceJobTaskConditionTask `json:"condition_task,omitempty"` DashboardTask *ResourceJobTaskDashboardTask `json:"dashboard_task,omitempty"` DbtCloudTask *ResourceJobTaskDbtCloudTask `json:"dbt_cloud_task,omitempty"` diff --git a/bundle/internal/tf/schema/resource_model_serving.go b/bundle/internal/tf/schema/resource_model_serving.go index 3e59dd027d..af1164f79f 100644 --- a/bundle/internal/tf/schema/resource_model_serving.go +++ b/bundle/internal/tf/schema/resource_model_serving.go @@ -158,6 +158,7 @@ type ResourceModelServingConfigServedEntitiesExternalModel struct { } type ResourceModelServingConfigServedEntities struct { + BurstScalingEnabled bool `json:"burst_scaling_enabled,omitempty"` EntityName string `json:"entity_name,omitempty"` EntityVersion string `json:"entity_version,omitempty"` EnvironmentVars map[string]string `json:"environment_vars,omitempty"` @@ -175,6 +176,7 @@ type ResourceModelServingConfigServedEntities struct { } type ResourceModelServingConfigServedModels struct { + BurstScalingEnabled bool `json:"burst_scaling_enabled,omitempty"` EnvironmentVars map[string]string `json:"environment_vars,omitempty"` InstanceProfileArn string `json:"instance_profile_arn,omitempty"` MaxProvisionedConcurrency int `json:"max_provisioned_concurrency,omitempty"` diff --git a/bundle/internal/tf/schema/root.go b/bundle/internal/tf/schema/root.go index 91178d32d3..504cce5e00 100644 --- a/bundle/internal/tf/schema/root.go +++ b/bundle/internal/tf/schema/root.go @@ -21,7 +21,7 @@ type Root struct { const ProviderHost = "registry.terraform.io" const ProviderSource = "databricks/databricks" -const ProviderVersion = "1.104.0" +const ProviderVersion = "1.105.0" func NewRoot() *Root { return &Root{