Closed jagada1010 closed 6 days ago
Hi @jagada1010!
The mongodbatlas_cluster
Terraform resource is not part of Google Cloud Platform (GCP)
. It's a custom resource created by HashiCorp
specifically for managing MongoDB Atlas clusters
within Terraform configurations. For this reason, being a foreign resource, it is out of our reach.
Community Note
Terraform Version & Provider Version(s)
Terraform vX.X.X on
Affected Resource(s)
mongodbatlas_cluster
Module: main.tf:
variables.tf:
Runner file: main.tf:
terraform.tfvars:
Terraform Configuration
Debug Output
No response
Expected Behavior
Actual Behavior
Steps to reproduce
terraform apply
Important Factoids
I have encountered an issue with Terraform while managing our MongoDB cluster. Recently, I manually changed the cluster tier from M60 to M10, where the auto-scaling instance size range is from M10 to M80 (min, max).
Subsequently, I attempted to update the maximum auto-scaling instance size from M80 to M20 using Terraform. However, when I ran the Terraform plan, it indicated that the replication_specs block would be re-created. This is unexpected, as I have not made any changes to the replication specs either in the Terraform code or through the console. I am concerned about the potential impact of this re-creation on our MongoDB cluster.
I would like to understand why the replication_specs block is being marked for re-creation and what the potential impact of this change might be on our MongoDB cluster.
References
No response