akshaykarle / terraform-provider-mongodbatlas

Terraform provider for MongoDB Atlas
Mozilla Public License 2.0
122 stars 54 forks source link

Upgrade cluster version from 3.6 to 4.0 #60

Open yx2387 opened 5 years ago

yx2387 commented 5 years ago

Hi all,

I tried to upgrade my cluster major version from 3.6 to 4.0 with terraform, but the cluster is not upgraded after terraform apply.

Terraform plan:

Terraform will perform the following actions:

  ~ module.app.module.mongo_notification.mongodbatlas_cluster.cluster
      mongodb_major_version: "3.6" => "4.0"

Plan: 0 to add, 1 to change, 0 to destroy.

I tried to do the same with Mongo API and it works fine.

mrchilds commented 5 years ago

I've hit the same issue going from 3.4 to 3.6.

mailaneel commented 5 years ago

Same issue when I tried to upgrade from 4.0 -> 4.2

mailaneel commented 5 years ago

This is the log that I see, but nothing changes in atlas

mongodbatlas_cluster.main: Modifying... (ID: *****)
--
  | mongodb_major_version: "4.0" => "4.2"
  | mongodbatlas_cluster.main: Modifications complete after 2s (ID: *****)