From 8466c161dafee382c40ecb4fa32bec885bf22c64 Mon Sep 17 00:00:00 2001 From: Antonis Kouzoupis Date: Mon, 30 Sep 2024 11:42:25 +0200 Subject: [PATCH] [CLOUD-737] Make Hopsworks 3.8.0 the default deployable version (#321) --- CHANGELOG.md | 1 + docs/resources/cluster.md | 2 +- hopsworksai/resource_cluster.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69a09f2..3351705 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ NOTES: BREAKING CHANGES: ENHANCEMENTS: +* resource/hopsworksai_cluster: Set Default `version` to 3.8.0 FEATURES: diff --git a/docs/resources/cluster.md b/docs/resources/cluster.md index 485fb21..dad9c32 100644 --- a/docs/resources/cluster.md +++ b/docs/resources/cluster.md @@ -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.7.1`. +- `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.8.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 diff --git a/hopsworksai/resource_cluster.go b/hopsworksai/resource_cluster.go index 1110cf0..9c460f1 100644 --- a/hopsworksai/resource_cluster.go +++ b/hopsworksai/resource_cluster.go @@ -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.7.1", + Default: "3.8.0", }, "head": { Description: "The configurations of the head node of the cluster.",