Closed kirkiris closed 4 years ago
@kirkiris just looking quickly please note we do not support Terraform v0.11.14 and do not test for it. We support 0.12.x. I would start with ensuring the correct version.
Second, the IP whitelist resource is one we've continually iterated on as it's a bit different in how it's implemented in the underlying Atlas API. What has helped to continually improve it is having data from transient issues, like you describe here. Do you think it would be possible to run Terraform with DEBUG logs and provide those when you hit it again? Then we can see what exactly is occurring.
@kirkiris checking in if you tried with a newer Terraform version?
Thanks for checking in @themantissa. No, I haven't tried it yet. I need to change the modules plus I don't seem to be able to reproduce it.
@kirkiris sound good - if okay I'll close this for now and if you get the same issue or have more data we can reopen. Thank you!
Hello,
I am trying to whitelist a number of public IPs which are divided in different lists according to their use case, so each
mongodbatlas_project_ip_whitelist
resource is configured similarly to the following example:By running
terraform apply
I will have all the IPs whitelisted but sometimes it ends up with an error similar to the following (it can be for a differentmongodbatlas_project_ip_whitelist
resource and for a different number of IPs):I tried to delete the corresponding entries from the UI and then re-run
terraform apply
which gave me the following output:but still got the same error (although the IPs were, again, whitelisted):
so I ended up importing them, which worked just fine:
I am not sure what can possibly be going wrong and I don't seem able to reproduce this behavior as it seems to be happening occasionally. Any ideas?
Terraform: v0.11.14 MongoDB Atlas Provider: tried with 0.6.0 and 0.6.2