-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Implementation plan
- Create a new
elasticstack_kibana_default_data_view
resource - Use set default data view and get default data view API operations.
- The resource should define
data_view_id
,force
, andskip_delete
attributes in it's schema. Ifskip_delete
is true then theDelete
operation should be a no-op, leaving the existing default data view unchanged. - Add acceptance tests covering the resource behaviour. Use the existing
elasticstack_kibana_data_view
resource to create data views for testing. - Ensure you follow the Copilot instructions at all times.
Is your feature request related to a problem? Please describe.
When I have many data views, and I'd like to set only one as a default one.
It's visible in Kibana, in Data view, view:
Describe the resource you would like to have implemented.
To be able to manage Kibana automatically, the way I could manually. In case I have a lot of Spaces and DataViews.
Describe the solution you'd like
resource "elasticstack_kibana_data_view" "name" {
data_view = {
...
default = true
}
}
Describe alternatives you've considered
REST API Call?
Additional context
Attached screenshot
gaetanars, dbalucas, djwinter, Bunzab, kadubarral and 1 moreCopilot
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request