Closed StewartSnow closed 4 years ago
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"
@StewartSnow did want to let you know we added a shared/multi-tenant example in the clusters doc to help. https://www.terraform.io/docs/providers/mongodbatlas/r/cluster.html#example-aws-shared-tier-cluster. Appreciated your submitting how it can be confusing.
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??