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

[ISSUE-115] Add Logstash Centralised Pipeline Management

Open RobsonSutton opened this issue 3 years ago • 5 comments

  • Add Logstash Centralised Pipeline Management feature, raised under https://github.com/elastic/terraform-provider-elasticstack/issues/115
  • ES Logstash API endpoints: https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-apis.html

RobsonSutton avatar Oct 09 '22 18:10 RobsonSutton

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

elasticmachine avatar Oct 09 '22 18:10 elasticmachine

@tobio -Please can you take a look at this one when you have a spare sec? Cheers! 👍

Note: First full feature PR so please do shout if there is a better approach i should take with anything defined or if any parts don't make sense!

RobsonSutton avatar Oct 14 '22 17:10 RobsonSutton

jenkins test this

tobio avatar Oct 15 '22 09:10 tobio

jenkins test this

tobio avatar Oct 19 '22 22:10 tobio

Looking good, one small comment on the code but really I just want to test some specifics out here before 🍏

Yeah if you are able to test then that would be massively appreciated! 👍 I have been trying to figure out how to define either an empty default or pass through the defaults defined for each setting when the pipeline_settings block is not passed to the provider which has me a bit stumped currently. Seems to populate these defaults for the settings when pipeline_settings {} but when this block doesn't exist I can't seem to figure out how to populate these with each settings default (as setting this is required on the ES API by the looks of it)!

RobsonSutton avatar Oct 20 '22 08:10 RobsonSutton

jenkins test this

tobio avatar Oct 24 '22 23:10 tobio

jenkins test this

tobio avatar Oct 25 '22 22:10 tobio

jenkins test this

tobio avatar Oct 26 '22 03:10 tobio

jenkins test this

tobio avatar Oct 26 '22 03:10 tobio

LGTM. Thanks for this! Really appreciate the patience through the review :)

No probs at all! 👍 Thanks for helping throughout the process, am new to Go and provider dev so has been good getting some feedback on better approaches, usage of syntax etc!

RobsonSutton avatar Oct 26 '22 08:10 RobsonSutton