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 Elasticsearch v8 #268

Open
preyas-prakasan opened this issue Apr 20, 2022 · 4 comments
Open

Support for Elasticsearch v8 #268

preyas-prakasan opened this issue Apr 20, 2022 · 4 comments

Comments

@preyas-prakasan
Copy link

Hello,
We are planning to upgrade our clusters from v7 to v8 and use your provider in our terraform code. Wanted to see if we can get the provider support for ES v8.

Is that in the pipeline ?

@phillbaker
Copy link
Owner

👋 Hi at this time, I think I'm recommending that for v8 support users switch to the Elastic provider: https://github.com/elastic/terraform-provider-elasticstack. Are there specific resources not supported yet in the official provider that you're using?

I understand that could be challenging to switch a lot of resources, I believe an interim step could be to set the elasticsearch_version argument on the provider explicitly: https://registry.terraform.io/providers/phillbaker/elasticsearch/latest/docs#elasticsearch_version. (E.g. when connecting to a v8 cluster, set the version to v7.x.x)

@phillbaker phillbaker pinned this issue Apr 21, 2022
@graemechristie
Copy link

graemechristie commented Apr 29, 2022

We don't currently use this provider but are evaluating it.

There is definitely quite a few resources the official provider cannot manage, but this one can. The official provider mostly only had resources for indexes, ingest pipelines and some security components.

image

Mostly, there is no support for any of the Kibana functions (alerts are of particular interest to us). There is no indication that any of this on their roadmap, or if there is any expectation of a separate provider for the Kibana api (e.g. nothing but crickets here elastic/terraform-provider-elasticstack#48)

I was pointed in the general direction of this repo when raising questions around Kibana Alerting automation by our Elasticsearch representatives. I would be interested in knowing if you expect to maintain/embellish the Kibana support going forward (independant of support ESv8 if that is not on the cards) or if we should look elsewhere.

Update: It looks like the Kibana issue seems has been added to a 0.4.0 milestone for the official provider (without comment) – so it looks like Kibana api support may be in the official provider as of the next major version ?

0.4.0 Milestone (github.com)

@dm3ch
Copy link

dm3ch commented Jan 12, 2023

As far as I understood official ES provider lacks support of AWS auth which makes it less usable in case of using with AWS hosted clusters. :(

elastic/terraform-provider-elasticstack#243 (comment)

@dm3ch
Copy link

dm3ch commented Jan 12, 2023

FYI: just found that author of this project have started a fork of official elastic provider to support opensearch - https://github.com/opensearch-project/terraform-provider-opensearch

Unfortunately there's no releases yet, and it seems it's still on early steps.

P.S. Just looked into the code and now it seems that's a rebranding of this project, not a fork of elastic official provider

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

4 participants