You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We're having a problem deploying a simple M2 cluster with the following configuration. We get the error:
mongodbatlas_cluster.atlas_cluster: error creating MongoDB Cluster: POST https://cloud.mongodb.com/api/atlas/v1.0/groups/
5e5e3a35d474757c8d98b41d/clusters: 400 (request "Bad Request") An invalid enumeration value M2 was specified.
We're using 0.4.1 version of the provider and terraform v0.12.21
Resolved - for others similarly confused. The solution was as follows:
The documentation mentions somewhere that the TENANT type (which is for multi-tenant usage), is also necessary (seems rather confusing to us), that specifically for M2 and M5 instance sizes, you need to use this value instead of a provider name, and then specify the target provider using the backing_provider_name property....
This is all down to the mongo atlas api behaviour, not the terraform provider
backing_provider_name = "AWS"
provider_name = "TENANT" // this is a real gotcha - needs to be TENANT for M2 & M5 instances....
disk_size_gb = 100 # this is the minimum & default
provider_region_name = "US_EAST_1"
provider_instance_size_name = "M2"
Hi,
We're having a problem deploying a simple M2 cluster with the following configuration. We get the error:
We're using 0.4.1 version of the provider and terraform v0.12.21
We've been through everything that we can think of, but can't figure it out, any advice??
The text was updated successfully, but these errors were encountered: