Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue 25 about logstash pipeline settings type #32

Merged
merged 2 commits into from
Nov 8, 2022
Merged

Conversation

disaster37
Copy link
Owner

@disaster37 disaster37 commented Nov 8, 2022

Signed-off-by: disaster37 [email protected]

Fix issue #25

Logstash pipeline settings is now a TypeSet with a defined list of items instead a string map.
It indroduce a breaking change that you need to hendle on terraform state ...

On Terraform code, you need to move

resource kibana_logstash_pipeline "test" {
    name = "terraform-test"
    description = "test"
    pipeline = "input { stdin{} } output { stdout{} }"
    settings = {
      "pipeline.workers" = "6"
      "queue.type" = "persisted"
    }
}

To

resource kibana_logstash_pipeline "test" {
    name = "terraform-test"
    description = "test"
    pipeline = "input { stdin{} } output { stdout{} }"
    settings {
      pipeline_workers = 6
      queue_type = "persisted"
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant