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

Support for OpenSearch v2 #298

Open
xt-yin opened this issue Jul 22, 2022 · 6 comments
Open

Support for OpenSearch v2 #298

xt-yin opened this issue Jul 22, 2022 · 6 comments

Comments

@xt-yin
Copy link

xt-yin commented Jul 22, 2022

Hello,
We are planning to upgrade to OpenSearch v2 and use your provider. But destinations have been deprecated and can no longer be created/edited in OpenSearch v2. Is there any plan to support new notification plugin?

@phillbaker
Copy link
Owner

Hi @xt-yin, can you link to the API docs for the new resources?

I would like to support OpenSearch v2, but don't have a definite timeline to implement these resources. Any PRs would be greatly accepted.

@xt-yin
Copy link
Author

xt-yin commented Jul 27, 2022

API document for notifications-plugin.

@phillbaker
Copy link
Owner

noting that v2 support is not allowed yet due to this line:

} else if conf.flavor == Unknown && conf.esVersion < "2.0.0" && conf.esVersion >= "1.0.0" {
.

We don't have testing support yet for OpenSearch 2.x and it does have breaking api features, so the provider hasn't incorporated support for it. This provider won't include support for opensearch 2.x, that will be done in https://github.com/opensearch-project/terraform-provider-opensearch

@leolorenzoluis
Copy link

@phillbaker Are you suggesting that this provider will be obsolete in the future and will only support OS < 2, and the provider moving forward will be the link you shared?

@phillbaker
Copy link
Owner

Hi @leolorenzoluis that's correct.

@barryib
Copy link

barryib commented Dec 11, 2023

It'll be good to highlight this in the Readme. Recommend to use instead https://github.com/opensearch-project/terraform-provider-opensearch for all Opensearch version. And why not deprecate the Openseach source code ?

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

4 participants