terraform-provider-elasticstack
terraform-provider-elasticstack copied to clipboard
[Feature] Introduce alias resource
Is your feature request related to a problem? Please describe. Currently to update alias from one index to another, we need to take 2 steps in separate operations.
- add to the new index
- remove it from the old index
Also sometimes we don't want to allow multiple indices having the same alias but it can happen with the current way of managing alias separately in the index resource.
Describe the resource you would like to have implemented.
We would like to have alias
resource to manage all the alias in the single resource to make it easier to apply multiple alias updates all at once.
Describe alternatives you've considered
Using index
resource.
Additional context Available APIs.