-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Hello,
If I'm running terraform apply twice with this resource
resource "mongodbatlas_cluster" "lcm" {
project_id = "my-project"
name = "cluster-my"
num_shards = 1
mongo_db_major_version = "4.0"
backup_enabled = false
auto_scaling_disk_gb_enabled = false
//Provider Settings "block"
provider_name = "TENANT"
backing_provider_name = "AZURE"
provider_instance_size_name = "M2"
provider_region_name = "EUROPE_NORTH"
disk_size_gb = 10
}
First it will create the resource, but second time it will show error message
Error: error updating MongoDB Cluster (cluster-yelocal-cloud-lcm): PATCH https://cloud.mongodb.com/api/atlas/v1.0/groups/5e0f1fadcf09a21c829808a9/clusters/cluster-yelocal-cloud-lcm: 400 (request "Bad Request") Cannot update a M0/M2/M5 cluster through the public API.