Skip to content

Commit c951108

Browse files
authored
Deprecate enable_serverless_compute on databricks_sql_global_config resource (#2139)
1 parent 4b52883 commit c951108

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/resource_sql_global_config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ func (a globalConfigAPI) Get() (GlobalConfig, error) {
104104
func ResourceSqlGlobalConfig() *schema.Resource {
105105
s := common.StructToSchema(GlobalConfig{}, func(
106106
m map[string]*schema.Schema) map[string]*schema.Schema {
107+
m["enable_serverless_compute"].Deprecated = "This field is intended as an internal API " +
108+
"and may be removed from the Databricks Terraform provider in the future"
107109
return m
108110
})
109111
setGlobalConfig := func(ctx context.Context, d *schema.ResourceData, c *common.DatabricksClient) error {

0 commit comments

Comments
 (0)