Upgrade TF provider to 1.48.3 (#1600)

## Changes

This includes a fix for using periodic triggers.

## Tests

Manually confirmed this works with
https://github.com/databricks/bundle-examples/pull/32.
This commit is contained in:
Pieter Noordhuis 2024-07-17 10:49:19 +02:00 committed by GitHub
parent 235973e7b1
commit e1474a38f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 43 additions and 32 deletions

View File

@ -1,3 +1,3 @@
package schema
const ProviderVersion = "1.48.0"
const ProviderVersion = "1.48.3"

View File

@ -4,6 +4,8 @@ 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"`
AuthType string `json:"auth_type,omitempty"`
AzureClientId string `json:"azure_client_id,omitempty"`
AzureClientSecret string `json:"azure_client_secret,omitempty"`

View File

@ -1224,6 +1224,11 @@ type DataSourceJobJobSettingsSettingsTriggerFileArrival struct {
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
}
type DataSourceJobJobSettingsSettingsTriggerPeriodic struct {
Interval int `json:"interval"`
Unit string `json:"unit"`
}
type DataSourceJobJobSettingsSettingsTriggerTableUpdate struct {
Condition string `json:"condition,omitempty"`
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
@ -1234,6 +1239,7 @@ type DataSourceJobJobSettingsSettingsTriggerTableUpdate struct {
type DataSourceJobJobSettingsSettingsTrigger struct {
PauseStatus string `json:"pause_status,omitempty"`
FileArrival *DataSourceJobJobSettingsSettingsTriggerFileArrival `json:"file_arrival,omitempty"`
Periodic *DataSourceJobJobSettingsSettingsTriggerPeriodic `json:"periodic,omitempty"`
TableUpdate *DataSourceJobJobSettingsSettingsTriggerTableUpdate `json:"table_update,omitempty"`
}

View File

@ -18,6 +18,7 @@ type ResourceExternalLocation struct {
ForceDestroy bool `json:"force_destroy,omitempty"`
ForceUpdate bool `json:"force_update,omitempty"`
Id string `json:"id,omitempty"`
IsolationMode string `json:"isolation_mode,omitempty"`
MetastoreId string `json:"metastore_id,omitempty"`
Name string `json:"name"`
Owner string `json:"owner,omitempty"`

View File

@ -37,6 +37,7 @@ type ResourceMetastoreDataAccess struct {
ForceUpdate bool `json:"force_update,omitempty"`
Id string `json:"id,omitempty"`
IsDefault bool `json:"is_default,omitempty"`
IsolationMode string `json:"isolation_mode,omitempty"`
MetastoreId string `json:"metastore_id,omitempty"`
Name string `json:"name"`
Owner string `json:"owner,omitempty"`

View File

@ -36,6 +36,7 @@ type ResourceStorageCredential struct {
ForceDestroy bool `json:"force_destroy,omitempty"`
ForceUpdate bool `json:"force_update,omitempty"`
Id string `json:"id,omitempty"`
IsolationMode string `json:"isolation_mode,omitempty"`
MetastoreId string `json:"metastore_id,omitempty"`
Name string `json:"name"`
Owner string `json:"owner,omitempty"`

View File

@ -21,7 +21,7 @@ type Root struct {
const ProviderHost = "registry.terraform.io"
const ProviderSource = "databricks/databricks"
const ProviderVersion = "1.48.0"
const ProviderVersion = "1.48.3"
func NewRoot() *Root {
return &Root{