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 #323

Closed
sharebear opened this issue Nov 10, 2022 · 3 comments
Closed

Support for OpenSearch v2 #323

sharebear opened this issue Nov 10, 2022 · 3 comments

Comments

@sharebear
Copy link

I was previously successfully using the elasticsearch_ingest_pipeline resource against OpenSearch v1. After upgrading to v2 I get the following error

Error: ElasticSearch version 2.3.0 is older than 6.0.0 and is not supported, flavor: 0.

Reading through the information in #268 I am able to set elasticsearch_version = "7.17.7" which seems to allow terraform progress.

Is this the recommended way forward for now? Should the provider instead be adding an opensearch_ingest_pipeline resource? This is something I could perhaps try and contribute to when I have a little time...

@phillbaker
Copy link
Owner

Related to #322

It is 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

@hessamalipour
Copy link

Hi @phillbaker , it is great new, new provider for OpenSearch. May know what is ETA of first release? Thanks in advance

@phillbaker
Copy link
Owner

Closing as a dupe of #298

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

No branches or pull requests

3 participants