From 5d7a516797494423c6d74da0a441375eab08c149 Mon Sep 17 00:00:00 2001 From: Jared Burns Date: Tue, 3 Sep 2024 15:43:56 -0400 Subject: [PATCH] fix: `r/resouce_pool` scaleable shares (#2255) Removes the default setting for `scale_descendants_shares` to allows for inheritance from the parent resource pool. Ref: #1763 Signed-off-by: Jared Burns --- CHANGELOG.md | 8 ++++++++ vsphere/resource_vsphere_resource_pool.go | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc9dca713..4b83bb946 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # +## 2.9.1 (Not Released) + +BUG FIX: + +* `resource/vsphere_resource_pool`: Removes the default setting for `scale_descendants_shares` to + allows for inheritance from the parent resource pool. + ([#2255]https://github.com/hashicorp/terraform-provider-vsphere/pull/2255) + ## 2.9.0 (September 3, 2024) FEATURES: diff --git a/vsphere/resource_vsphere_resource_pool.go b/vsphere/resource_vsphere_resource_pool.go index 04430e94a..e42b03278 100644 --- a/vsphere/resource_vsphere_resource_pool.go +++ b/vsphere/resource_vsphere_resource_pool.go @@ -117,7 +117,6 @@ func resourceVSphereResourcePool() *schema.Resource { Type: schema.TypeString, Description: "Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.", Optional: true, - Default: string(types.ResourceConfigSpecScaleSharesBehaviorDisabled), ValidateFunc: validation.StringInSlice(resourcePoolScaleDescendantsSharesAllowedValues, false), }, vSphereTagAttributeKey: tagsSchema(),