Open tsouza opened 3 years ago
Notes:
data_stream
setting in the index template as is which enables it to be able to create new data streams.lifecycle_policy
setting in Index Template - Indeed would be handy to have that defined as a shortcut for the actual setting, but then why not do the same for the other settings (such as the default ingest pipeline?). I agree which should put more thought on how to improve the resources definition under the UX perspective but I think we should properly revisit this topic in a future version. For now, let's just try to stick with what's there already without introducing new concepts/models. See https://github.com/stevewritescode/terraform-provider-elastic-stack/issues/6
The
elasticstack_data_*
defines the following:Index Template
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-template.html
Component Template
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-template.html#multiple-component-templates
Index Lifecycle Policy
https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html
Snapshot Repository
https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshots-register-repository.html