-
Notifications
You must be signed in to change notification settings - Fork 134
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
The "elasticsearch_index_template" resource is using the legacy /_template
API endpoint
#88
Comments
Update: I commented on the wrong issue 🤦♂️ |
@ruflin yea, the only problem is that the default ILM policy won't work for us, neither is missing the no hot/warm default that will arrive in 7.10. |
@haywoood Please ignore me on this thread, I commented on the wrong issue 🤦♂️ |
I'd suggest contributing a PR upstream for this, which will then need to be pulled into this provider. It looks like this endpoint was added in ES7.8 - I'm not sure how we want to handle that in the provider, we're currently only differentiating based on major versions of ES which tie to major versions of the client. |
In addition to new endpoint it would nice to have support of "component templates" which is also part of ES 7.8. Tracked at olivere/elastic#1388
I'd suggest introducing new resources for component templates and index templates. |
++ |
Going to close this as composable templates were added in #120. Component templates support is being tracked upstream in olivere/elastic#1414, a new issue can be opened to support that when upstream support is added. |
Not sure there is going to be any action needed from this library, but figured I'd link the two issues.
olivere/elastic#1393
I was trying to create this resource:
But it failed to apply because of a 400 error from Elasticsearch. Downstream, the legacy
/_template
endpoint is being used instead of the new/_index_template
endpoint.The text was updated successfully, but these errors were encountered: