Skip to content
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

terraform import elasticsearch_opensearch_ism_policy.cleanup doesn't import existing ISM policies #353

Open
vchslav opened this issue Jun 6, 2023 · 1 comment

Comments

@vchslav
Copy link

vchslav commented Jun 6, 2023

"terraform import elasticsearch_opensearch_ism_policy.cleanup ism_policy_id" returns "Import successful!" but actually nothing isn't being added to the state.

All the rest actions work well - add, update, and remove. The state is updated appropriately.
It was tested on AWS OpenSearch 2.3 Service software versions "R20221114-P5" and "OpenSearch_2_3_R20221114-P6".

Thanks!

@phillbaker
Copy link
Owner

Hello, thanks for opening an issue. I see that we don't have a test covering the import of ISM policies.

Please note that this provider doesn't officially support OpenSearch 2.x however, so if it is an issue with the version change, that will have to be fixed on https://github.com/opensearch-project/terraform-provider-opensearch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants