Skip to content

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

@RobsonSutton

Description

@RobsonSutton

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions