From fe37e3d3f30f7fde9284e5424083cdc53cdfd426 Mon Sep 17 00:00:00 2001 From: Sivaanand Murugesan Date: Fri, 18 Oct 2024 22:18:34 +0530 Subject: [PATCH] PLT-1444:Fixed day 2 change issue on image_template_folder (#525) --- spectrocloud/resource_cluster_vsphere.go | 1 + 1 file changed, 1 insertion(+) diff --git a/spectrocloud/resource_cluster_vsphere.go b/spectrocloud/resource_cluster_vsphere.go index d239d71e..887cb3af 100644 --- a/spectrocloud/resource_cluster_vsphere.go +++ b/spectrocloud/resource_cluster_vsphere.go @@ -494,6 +494,7 @@ func flattenClusterConfigsVsphere(d *schema.ResourceData, cloudConfig *models.V1 placement := cloudConfig.Spec.ClusterConfig.Placement ret["datacenter"] = placement.Datacenter ret["folder"] = placement.Folder + ret["image_template_folder"] = placement.ImageTemplateFolder } //Currently we do support ssh_key and ssh_keys in vsphere cluster. //Handling flatten for if ssh_key is set