-
Notifications
You must be signed in to change notification settings - Fork 60
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
opensearch_index_template stopped working on opensearch <2.0 eventhough it's documented as working #112
Comments
Thanks @arianvp can you please contribute with the fix? |
[Untriage] |
@prudhvigodithi I would like to work on this |
Thanks @premkirank |
Thanks for your PR @premkirank. More info on compatibility: https://github.com/opensearch-project/terraform-provider-opensearch#compatibility, https://github.com/opensearch-project/terraform-provider-opensearch/tree/1.x#compatibility |
@prudhvigodithi I'm facing the same issue described above after upgrading to OpenSearch 2.x, I cannot update the |
Hey @sharathganga may I please know what is the OpenSearch cluster version you are using when used |
@prudhvigodithi I'm using AWS Opensearch version 2.11. The index templates were created when I was using AWS Opensearch 1.3 and provider 1.0.0. After upgrading the cluster 2.11, I cannot update the index template settings using the same provider version 1.0.0. Upgraded the provider to the latest version 2.2.0 and the terraform plan shows that the index templates will be recreated using the new |
Adding @rblcoder |
I had a call with @rblcoder and the behaviour is expected. The Also the go client @rblcoder @bbarani @peterzhuamazon @gaiksaya please add your thoughts as well. Tagging index-management owners to please provide some insights on Thank you |
Exact commit in |
I have posted a question in the OpenSearch Community https://forum.opensearch.org/t/differences-between-legacy-template-and-index-template/17831 |
This introduces a nasty bug!
opensearch_index_template
is supposed to call_template
not_index_template
. Now this doesn't behave as documented. The documentation states thatopensearch_composable_index_template
calls_index_template
and you should useopensearch_index_template
onopensearch <2.0
but now both resources use the same endpoint.Originally posted by @arianvp in #62 (comment)
The text was updated successfully, but these errors were encountered: