From 7e32d9ef5b2eed58c8d0ac2dc6656824a3ae6835 Mon Sep 17 00:00:00 2001 From: coderGo93 Date: Mon, 21 Jun 2021 14:32:53 -0600 Subject: [PATCH] added has changes for name of cluster (#479) --- mongodbatlas/resource_mongodbatlas_cluster.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mongodbatlas/resource_mongodbatlas_cluster.go b/mongodbatlas/resource_mongodbatlas_cluster.go index 65c224d130..574ad593df 100644 --- a/mongodbatlas/resource_mongodbatlas_cluster.go +++ b/mongodbatlas/resource_mongodbatlas_cluster.go @@ -782,6 +782,10 @@ func resourceMongoDBAtlasClusterUpdate(d *schema.ResourceData, meta interface{}) cluster.BiConnector, _ = expandBiConnector(d) } + if d.HasChange("name") { + cluster.Name, _ = d.Get("name").(string) + } + if d.HasChange("bi_connector_config") { cluster.BiConnector, _ = expandBiConnectorConfig(d) }