You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm having trouble to delete saved objects in kibana.
my setup:
resource "kibana_object" "dashboards" {
for_each = fileset("./fixtures/saved-objects/${terraform.workspace}/dashboard", "*.json")
name = trimsuffix("${each.key}", ".json")
data = jsonencode(jsondecode("${file("./fixtures/saved-objects/${terraform.workspace}/dashboard/${each.key}")}"))
deep_reference = false
export_objects {
id = jsondecode("${file("./fixtures/saved-objects/${terraform.workspace}/dashboard/${each.key}")}").id
type = "dashboard"
}
}
the folder dashboard contains a couple of files where every file is a single dashboard.
So now when i remove one file from the directory TF is going to "destroy" this..
But in Kibana the dashboard is still there and thus not deleted.
Further if i remove the dashboard (or any saved object) in kibana i'm running into this issue: #8
I'm also not sure what is the best practice to setup the kibana_objects resource..
Should we use export_objects? or export_types?
So a good example is missing here..
This would also reduce tickets like this: #34
Best regards
eloo
The text was updated successfully, but these errors were encountered:
Hi,
i'm having trouble to delete saved objects in kibana.
my setup:
the folder
dashboard
contains a couple of files where every file is a single dashboard.So now when i remove one file from the directory TF is going to "destroy" this..
But in Kibana the dashboard is still there and thus not deleted.
Further if i remove the dashboard (or any saved object) in kibana i'm running into this issue:
#8
I'm also not sure what is the best practice to setup the
kibana_objects
resource..Should we use export_objects? or export_types?
So a good example is missing here..
This would also reduce tickets like this: #34
Best regards
eloo
The text was updated successfully, but these errors were encountered: