phillbaker / terraform-provider-elasticsearch

An elasticsearch provider for terraform
https://registry.terraform.io/providers/phillbaker/elasticsearch
Mozilla Public License 2.0
304 stars 134 forks source link

Support for OpenSearch v2 #298

Open xt-yin opened 2 years ago

xt-yin commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

API document for notifications-plugin.

phillbaker commented 1 year ago

noting that v2 support is not allowed yet due to this line: https://github.com/phillbaker/terraform-provider-elasticsearch/blob/1ff79e7de71161651f5fe64d73366aab778ea663/es/provider.go#L478.

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 commented 1 year ago

@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 commented 1 year ago

Hi @leolorenzoluis that's correct.

barryib commented 9 months ago

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 ?