From 98074379d5a129f5683ff771facdbe6394a81541 Mon Sep 17 00:00:00 2001 From: Mahmoud Ismail Date: Thu, 23 Nov 2023 15:14:19 +0100 Subject: [PATCH] [CLOUD-685] Set default version to 3.5.0 --- 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 c590841..90c6263 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ BREAKING CHANGES: ENHANCEMENTS: * Bump minimum Go version to 1.20 +* resource/hopsworksai_cluster: Set Default `version` to 3.5.0 FEATURES: diff --git a/docs/resources/cluster.md b/docs/resources/cluster.md index 1d6d852..e168c72 100644 --- a/docs/resources/cluster.md +++ b/docs/resources/cluster.md @@ -124,7 +124,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.4.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.5.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 6c18a01..0adeaa5 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.4.1", + Default: "3.5.0", }, "head": { Description: "The configurations of the head node of the cluster.",