Autoscale does not play well if you set topologies #467
Labels
bug
Something isn't working
framework-limitation
This issue is caused by limitations of the Terraform SDK
Known issue
Known issue that is well documented
Team:Stack-And-Solutions.important
Milestone
Readiness Checklist
Expected Behavior
A terraform manifest should work after autoscaling resizes the cluster.
Current Behavior
The terraform apply will fail with different errors, but all are related to the fact that autoscale has changed the size and the plan generated by the elastic terraform provider does not have those changes and the resulting plan is incompatible with the currently deployed. Some of the issues are:
elasticsearch.topology
blocks is not idempotent #336## Terraform definition
Case 1
Case 2
Case 3
Steps to Reproduce
Context
We change settings on elasticsearch using the settings file we pass in the terraform manifest, we also add node types sometimes, or we changed configuration on Kibana, Integrations server, or simply we changed the cluster used to monitor the cluster. Those changes do not work well with autoscaling and some terraform configurations.
Possible Solution
The workaround we use is to set the cluster without autoscale and the resources we will need, after that, we remove all the topology setting from elasticsearch and we use autoscale.
Initial deploy
Autoscale update
The text was updated successfully, but these errors were encountered: