-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Terraform provider schema structs from 1.23.0 (#713)
## Changes The provider at version 1.24.0 includes a regression for the MLflow model resource. To fix this, we explicitly pin the provider version at the version we generate bindings for. ## Tests Confirmed that a deploy of said MLflow model resource works with 1.23.0.
- Loading branch information
1 parent
2c9d687
commit 5ffad6a
Showing
14 changed files
with
134 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package schema | ||
|
||
const ProviderVersion = "1.23.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package schema | ||
|
||
type Providers struct { | ||
Databricks *Config `json:"databricks,omitempty"` | ||
} | ||
|
||
func NewProviders() *Providers { | ||
return &Providers{ | ||
Databricks: &Config{}, | ||
} | ||
} | ||
|
||
type Root struct { | ||
Terraform map[string]any `json:"terraform"` | ||
|
||
Provider *Providers `json:"provider,omitempty"` | ||
Data *DataSources `json:"data,omitempty"` | ||
Resource *Resources `json:"resource,omitempty"` | ||
} | ||
|
||
func NewRoot() *Root { | ||
return &Root{ | ||
Terraform: map[string]interface{}{ | ||
"required_providers": map[string]interface{}{ | ||
"databricks": map[string]interface{}{ | ||
"source": "databricks/databricks", | ||
"version": "1.23.0", | ||
}, | ||
}, | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Generated from Databricks Terraform provider schema. DO NOT EDIT. | ||
|
||
package schema | ||
|
||
type ResourceConnection struct { | ||
Comment string `json:"comment,omitempty"` | ||
ConnectionType string `json:"connection_type"` | ||
Id string `json:"id,omitempty"` | ||
MetastoreId string `json:"metastore_id,omitempty"` | ||
Name string `json:"name"` | ||
Options map[string]string `json:"options"` | ||
Owner string `json:"owner,omitempty"` | ||
Properties map[string]string `json:"properties,omitempty"` | ||
ReadOnly bool `json:"read_only,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters