Closed sonic1981 closed 4 years ago
@sonic1981 Apart from M0, all other cluster tiers can be created using Terraform. Please use the below sample to create an M5 cluster and refer this in the documentation.
resource "mongodbatlas_cluster" "cluster-atlas" {
project_id = mongodbatlas_project.aws_atlas.id
name = "cluster-atlas"
mongo_db_major_version = "4.2"
//Provider settings
auto_scaling_disk_gb_enabled = "false"
backing_provider_name = "AWS"
provider_name = "TENANT"
disk_size_gb = 5
provider_instance_size_name = "M5"
provider_region_name = var.atlas_region
}
Closing a the question was answered and the answer ack'ed, Thank you both!
Terraform CLI and Terraform MongoDB Atlas Provider Version
Terraform Configuration File
Steps to Reproduce
terraform init
terraform apply
Expected Behavior
Should be possible to create a M5 tier cluster.
Actual Behavior
Additional Context
The documentation for this provider states:
source
so I understood this to mean I can't create a M0 cluster. Yet the minimum cluster I can seemingly create is M10