-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with advanced_configuration section on mongodbatlas_cluster #210
Comments
I am using version |
@michelzanini thank you for this one as well - confirmed as a bug, it should not modify any other options but does. Workaround for now, as found, was to not send individual options but the entire block.
|
…mongodbatlas_cluster
fix: fixes #210 Issue with advanced_configuration section on mongodbatlas_cluster
@michelzanini we have an improved PR w/ the fix if you happen to have time to check it out. Thank you so much for all your input on this one as we ensure we get it right! |
…h-advanced_configuration-mongodbatlas_cluster_opt2 fixes #210: Issues with advanced_configuration section on mongodbatlas_cluster
Hi,
There are a few issues with the
advanced_configuration
section ofmongodbatlas_cluster
resource.First, if I create a new cluster with this configuration:
I would expect all settings to have default values expect the one I have defined. That means when calling
/clusters/{name}/processArgs
I should get this as a result:But this is what I get instead:
The most important part here is that
failIndexKeyTooLong
andjavascriptEnabled
aretrue
by default but they arefalse
, even my configuration have not stated that I wanted to change those properties. I believe they should stay with default values. Also you can see thatsampleRefreshIntervalBIConnector
andsampleSizeBIConnector
have values as0
instead ofnull
.The next issue is the fact that even if I go and add the other flags such as:
Every time I run
terraform plan
the cluster resource always comes back with 1 change required. This is what appears on the change diff:As you can see the properties that were omitted are always coming back as a difference. I think should not be the case. The only real option here is to have to define ALL variables such as:
But is not what the documentation says... besides, what would happen and a new property is created? The issues with
""
/0
versusnull
are also worth looking into fixing...Thanks.
The text was updated successfully, but these errors were encountered: