terraform-provider-elasticstack
terraform-provider-elasticstack copied to clipboard
[Bug] Fix Logstash pipeline `queue.max_size` setting/s
Describe the bug
For some reason I split queue.max_size to queue.max_size.units and queue.max_size.number when adding this. When implementing it appears that this throws errors in the logs as these endpoints aren't supported (something I missed during testing).
To Reproduce Steps to reproduce the behavior:
- Define
queue.max_size.numberandqueue.max_size.unitswithin TF Resource. - Review Logstash logs once created to view errors (/var/log/logstash/logstash-json.log)
Expected behavior Updates to the settings should be applied against the API as opposed to ignored due to invalid settings being defined in the provider.
Screenshots

Versions (please complete the following information):
- OS: [Linux]
- Terraform Version [v1.0.7]
- Provider version [v0.5.0]
- Elasticsearch Version [v7.17]
Additional context N/A