You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, if you do get index?settings, the field department_name gets added. Worst, this error persists.
What is the expected behavior?
The error should not persist. The only way to get rid of the error is by deleting the index, which is unacceptable in production environment. Either it should not make the change (throwing an error) and then reverting the terraform config should fix things. Or make the change and be done with it.
What is your host/environment?
macos, latest version of the provider.
The text was updated successfully, but these errors were encountered:
A followup question? What is the best way then to allow for dynamic mappings and ensure the index state doesn't create an issue? I want to be able to change mappings or atleast have a dynamic mapping. It should not delete the index based on the state.
mappings (String) A JSON string defining how documents in the index, and the fields they contain, are stored and indexed. To avoid the complexities of field mapping updates, updates of this field are not allowed via this provider.
What is the bug?
Index modified successfully using terraform, but still error shows up.
Error: There are documents in the index (or the index could not be , set force_destroy to true to allow destroying.`
How can one reproduce the bug?
If I create an index lets say something like this:
If I modify such that
I see this error coming up.
However, if you do get index?settings, the field department_name gets added. Worst, this error persists.
What is the expected behavior?
The error should not persist. The only way to get rid of the error is by deleting the index, which is unacceptable in production environment. Either it should not make the change (throwing an error) and then reverting the terraform config should fix things. Or make the change and be done with it.
What is your host/environment?
macos, latest version of the provider.
The text was updated successfully, but these errors were encountered: