Closed dbamohsin closed 6 years ago
Just some additional info on this. i've just tested the Mongo API moving from 3.4 to 3.6 and this works fine.
curl -i -u "user:key" --digest -H "Content-Type: application/json" -X PATCH "https://cloud.mongodb.com/api/atlas/v1.0/groups/groupid/clusters/myreplicaset" --data '
{
"mongoDBMajorVersion" : 3.6
}'
the above upgrades the cluster successfully.
Thanks for filing that issue. Should be simple to fix this. Will do it soon :)
Hi,
Thanks for all your efforts on this provider so far!
Im not sure if i have missed something but i'm finding that when attempting to upgrade the mongoDBMajorVersion of a cluster resource, terraform destroys the existing resource and then creates a new resource on the new version.
terraform:
This presents the following plan:
Is this expected behaviour? The API does look like it allows cluster modification of mongoDBMajorVersion - https://docs.atlas.mongodb.com/reference/api/clusters-modify-one/#
Thanks
Mos