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

[FEATURE] Add cluster.routing.allocation.awareness.force.zone.values to the provider as a cluster setting #202

Closed
vinylen opened this issue Jul 2, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@vinylen
Copy link

vinylen commented Jul 2, 2024

Is your feature request related to a problem?

As of the latest version of the provider, we can manage the cluster.routing.allocation.awareness attribute, but not the cluster.routing.allocation.awareness.force.zone.values option, which are often combined together.

What solution would you like?

It would be great if the provider could add support for "cluster.routing.allocation.awareness.force.zone.values" so that we don't have to manually add this option to the cluster settings.

What alternatives have you considered?

Manually adding the cluster.routing.allocation.awareness.force.zone.values after terraform has run it's course.

Do you have any additional context?

Here are some links to the option in question:

opensearch.org - Forced awareness
elastic.org - Forced awareness

@prudhvigodithi
Copy link
Member

[Triage]
Looks to me like we should include the setting in https://github.com/opensearch-project/terraform-provider-opensearch/blob/main/provider/resource_opensearch_cluster_settings.go here so that user can pass using opensearch_cluster_settings, @vinylen thanks for bringing this up, is there a way you can contribute to this change ? :)
Thank you
@getsaurabh02

@prudhvigodithi
Copy link
Member

Hey @vinylen I have PR open #211 to support cluster.routing.allocation.awareness.force.zone.values with the list of zone.
Thank you
@getsaurabh02

@prudhvigodithi prudhvigodithi self-assigned this Sep 16, 2024
@prudhvigodithi
Copy link
Member

The terraform provider 2.3.1 is released supporting cluster.routing.allocation.awareness.force.zone.values, @vinylen please take a look.
Thanks

@prudhvigodithi prudhvigodithi moved this from Backlog to 🏗 In progress in Engineering Effectiveness Board Sep 23, 2024
@vinylen vinylen closed this as completed Sep 27, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Engineering Effectiveness Board Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants