Skip to content

Commit 38497fd

Browse files
authored
Mark gcp_attributes.use_preemptible_executors as deprecated in the databricks_cluster resource (#2551)
1 parent acbb8a4 commit 38497fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clusters/resource_cluster.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ func resourceClusterSchema() map[string]*schema.Schema {
5959
return common.StructToSchema(Cluster{}, func(s map[string]*schema.Schema) map[string]*schema.Schema {
6060
s["spark_conf"].DiffSuppressFunc = SparkConfDiffSuppressFunc
6161
common.MustSchemaPath(s, "aws_attributes", "zone_id").DiffSuppressFunc = ZoneDiffSuppress
62+
common.MustSchemaPath(s, "gcp_attributes", "use_preemptible_executors").Deprecated = "Please use 'availability' instead."
63+
6264
// adds `library` configuration block
6365
s["library"] = common.StructToSchema(libraries.ClusterLibraryList{},
6466
func(ss map[string]*schema.Schema) map[string]*schema.Schema {

0 commit comments

Comments
 (0)