Skip to content

Commit

Permalink
added has changes for name of cluster (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
coderGo93 authored Jun 21, 2021
1 parent b0dd7f4 commit 7e32d9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mongodbatlas/resource_mongodbatlas_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 7e32d9e

Please sign in to comment.