Closed mkozjak closed 6 years ago
Hello @mkozjak the mongo provider waits for atlas to provision the cluster successfully before marking it is created with a timeout of 40 mins. Even when the terraform run times out, mongo continues to create the cluster and might complete eventually marking the mongo cluster as created. I could increase the creation timeout to a higher value but not sure that would help as there is no SLA provided by mongodb atlas on how long it will take to create a new cluster. For now, if you see this error, running a terraform refresh or importing the cluster manually should fix the error. And if you see it taking a long time to create clusters maybe contact mongodb atlas support?
Tried creating a new cluster on Atlas and ended up waiting 40 mins to hit the timeout.
The error:
timeout while waiting for state to become 'IDLE' (last state: 'CREATING', timeout: 40m0s)
After that went to check on the cluster on Atlas web and everything was fine. Terraform plan also reported that everything was up-to-date.Any ideas on how to debug this?