terraform-provider-elasticstack icon indicating copy to clipboard operation
terraform-provider-elasticstack copied to clipboard

Support CSV indices in SLM policy definitions

Open tobio opened this issue 11 months ago • 0 comments

Fixes https://github.com/elastic/terraform-provider-elasticstack/issues/439

Elasticsearch supports both a string array (what the provider has been expecting) and a CSV list for the indices field on an SLM policy. This PR customises the JSON marshaller to ensure both formats are parsed into a Go slice.

tobio avatar Mar 21 '24 07:03 tobio