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

If kibana_search resource attribute search.filters attribute is left empty then terraform crashes #46

Open
latikag opened this issue Nov 3, 2020 · 0 comments

Comments

@latikag
Copy link

latikag commented Nov 3, 2020

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

v0.12.26

Affected Resource(s)

  • kibana_search

Terraform Configuration Files

{
  "data" : {
    "kibana_index" : {
      "main" : {
        "filter" : {
          "name" : "title",
          "values" : "${flatten([\"kibana_sample_data_ecommerce\"])}"
        }
      }
    }
  }
}


{
  "resource" : {
    "kibana_search" : {
      "search" : {
        "search" : {
          "index" : "${data.kibana_index.main.id}",
          "query" : "",
          "filters" : [ ]
        },
        "display_columns" : ["_source"],
        "sort_ascending" : false,
        "sort_by_columns" : ["day_of_week"],
        "name" : "search5"
      }
    }
  }
}

Debug Output

Panic Output

https://gist.github.com/latikag/17892b66d640e186aa6511e880ad33b8

Expected Behavior

Applied successfully

Actual Behavior

Terraform crashed

Steps to Reproduce

  1. terraform apply

Important Factoids

References

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

No branches or pull requests

1 participant