Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfeng-db committed Jan 8, 2024
1 parent cacdc83 commit b81613c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clusters/resource_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ func (ClusterResourceProvider) CustomizeSchema(s map[string]*schema.Schema) map[
},
}
common.CustomizeSchemaPath(s, "state").SetReadOnly()
common.CustomizeSchemaPath(s, "url").SetReadOnly()
s["url"] = &schema.Schema{
Type: schema.TypeString,
Computed: true,
}
common.CustomizeSchemaPath(s, "default_tags").SetReadOnly()
common.CustomizeSchemaPath(s, "num_workers").SetDefault(0).SetValidateDiagFunc(validation.ToDiagFunc(validation.IntAtLeast(0)))
s["cluster_mount_info"] = &schema.Schema{
Expand Down

0 comments on commit b81613c

Please sign in to comment.