Skip to content

Commit 7a1267b

Browse files
authored
[CLOUD-722] Set default version to 3.7.1 (#302)
1 parent 2b81c27 commit 7a1267b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ NOTES:
55
BREAKING CHANGES:
66

77
ENHANCEMENTS:
8+
* resource/hopsworksai_cluster: Set Default `version` to 3.7.1
89

910
FEATURES:
1011

docs/resources/cluster.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ resource "hopsworksai_cluster" "cluster" {
125125
- `tags` (Map of String) The list of custom tags to be attached to the cluster.
126126
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
127127
- `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`.
128-
- `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`.
128+
- `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.1`.
129129
- `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))
130130

131131
### Read-Only

examples/complete/gcp/gke/standard/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ data "hopsworksai_instance_type" "worker" {
172172
}
173173

174174
resource "hopsworksai_cluster" "cluster" {
175-
name = "tf-cluster"
175+
name = "tf-cluster"
176176

177177
head {
178178
instance_type = data.hopsworksai_instance_type.head.id

hopsworksai/resource_cluster.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func clusterSchema() map[string]*schema.Schema {
116116
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.",
117117
Type: schema.TypeString,
118118
Optional: true,
119-
Default: "3.7.0",
119+
Default: "3.7.1",
120120
},
121121
"head": {
122122
Description: "The configurations of the head node of the cluster.",

0 commit comments

Comments
 (0)