Skip to content

Commit

Permalink
[CLOUD-705] Set default version to 3.7.0 (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
maismail authored Feb 7, 2024
1 parent 09e40de commit 2b55022
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ NOTES:
BREAKING CHANGES:

ENHANCEMENTS:
* resource/hopsworksai_cluster: Set Default `version` to 3.7.0

FEATURES:

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ resource "hopsworksai_cluster" "cluster" {
- `tags` (Map of String) The list of custom tags to be attached to the cluster.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `update_state` (String) The action you can use to start or stop the cluster. It has to be one of these values [none, start, stop]. Defaults to `none`.
- `version` (String) The version of the cluster. For existing clusters, you can change this attribute to upgrade to a newer version of Hopsworks. If the upgrade process ended up in an error state, you can always rollback to the old version by resetting this attribute to the old version. Defaults to `3.5.0`.
- `version` (String) The version of the cluster. For existing clusters, you can change this attribute to upgrade to a newer version of Hopsworks. If the upgrade process ended up in an error state, you can always rollback to the old version by resetting this attribute to the old version. Defaults to `3.7.0`.
- `workers` (Block Set) The configurations of worker nodes. You can add as many as you want of this block to create workers with different configurations. (see [below for nested schema](#nestedblock--workers))

### Read-Only
Expand Down
2 changes: 1 addition & 1 deletion hopsworksai/resource_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func clusterSchema() map[string]*schema.Schema {
Description: "The version of the cluster. For existing clusters, you can change this attribute to upgrade to a newer version of Hopsworks. If the upgrade process ended up in an error state, you can always rollback to the old version by resetting this attribute to the old version.",
Type: schema.TypeString,
Optional: true,
Default: "3.5.0",
Default: "3.7.0",
},
"head": {
Description: "The configurations of the head node of the cluster.",
Expand Down

0 comments on commit 2b55022

Please sign in to comment.