-
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
[BUG] 2.0 beta cannot import index template - not found - still happening in 2.2.1 #67
Comments
[Triage] @prudhvigodithi @phillbaker Could you help look into this issue as well? Thanks! |
Related Similar issue #71 |
This is still happening, and I do not seem to have the ability to re-open. |
terraform import module.es-indexes.opensearch_index_template.app app $ curl -H GET https://[URL]/_template/app |
@prudhvigodithi - Are you able to re-open? |
Sure @xsnrg, |
What is the bug?
terraform cannot import index template - not found
How can one reproduce the bug?
Create an index template in some way. In this case I create an index template with an older provider. Switch to the new provider and try to import, and it is not able to find the index.
What is the expected behavior?
The index template should import from the existing configuration by name
What is your host/environment?
MacOS for the terraform client, Server cluster is AWS Opensearch 2.7
Do you have any screenshots?
GET _cat/templates
- shows the templatesGET _index_template/*
- does not show templatesDo you have any additional context?
The cluster is running in compatibility mode, and the index template API may have changed between the provider that created the template and the one trying to import it. The console shows the index template though, so the new provider should be able to find it and import it.
The text was updated successfully, but these errors were encountered: