terraform-provider-elasticstack icon indicating copy to clipboard operation
terraform-provider-elasticstack copied to clipboard

[Bug] Fix Logstash pipeline `queue.max_size` setting/s

Open RobsonSutton opened this issue 2 years ago • 0 comments

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:

  1. Define queue.max_size.number and queue.max_size.units within TF Resource.
  2. 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 Screenshot 2023-02-07 at 14 27 59

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

RobsonSutton avatar Feb 07 '23 14:02 RobsonSutton