-
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] Import of index resource doesn't include mapping configuration #135
Comments
[Untriage] |
@prudhvigodithi When I try to call
err shows Variable index contains the name of the index. |
My issue for this was closed referencing #71 . What are the chances of getting somebody on the core team to fix this? I don't know that the community has any PR work ready for fixing it, and it is fairly important to the usability of the provider. |
Hey @xsnrg when you mention core team are you referencing to the OpenSearch core engine and should a fix happen in core engine or can a fix be part of the terraform provider ? |
@prudhvigodithi - a good question. My understanding is the fix is needed in the provider. I was referring to the primary contributors to the There are individuals here that are more familiar with the provider code, such as @bbarani and @phillbaker . They could probably knock this out fairly quickly if they have the time, vs. waiting for a community member to provide a PR. My hope is somebody close to the provider code could take a look and see if it is a quick win. |
I can see the PR #145 merged (thanks to @rblcoder) that should allow importing of index mapping. If still seeing issues for importing index mappings using |
What is the bug?
When I attempt to import the opensearch_index resource with mapping configured, it doesn't get imported into the state
How can one reproduce the bug?
Create an index with a mapping configuration:
Remove it from the state and import it back:
The new resource state doesn't have the mapping configuration:
What is the expected behavior?
The mapping is imported.
What is your host/environment?
Provider:
Terraform:
The text was updated successfully, but these errors were encountered: