From 2b55022b7bca0962e8a186f96b3dae1020a6a488 Mon Sep 17 00:00:00 2001 From: Mahmoud Ismail Date: Wed, 7 Feb 2024 14:47:42 +0100 Subject: [PATCH] [CLOUD-705] Set default version to 3.7.0 (#297) --- 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 a2f67fd..fbad647 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ NOTES: BREAKING CHANGES: ENHANCEMENTS: +* resource/hopsworksai_cluster: Set Default `version` to 3.7.0 FEATURES: diff --git a/docs/resources/cluster.md b/docs/resources/cluster.md index 50bbb49..26532f3 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.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 diff --git a/hopsworksai/resource_cluster.go b/hopsworksai/resource_cluster.go index b89dcc8..37ee8d3 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.5.0", + Default: "3.7.0", }, "head": { Description: "The configurations of the head node of the cluster.",