Prior to ODFE 1.13.0, I can link/apply a policy to an existing index by updating the settings for that index e.g by running the command below:
curl -H "Content-Type: application/json" -X PUT http://localhost:9200/alt_write_once-000001/_settings -d '{ "opendistro.index_state_management.rollover_alias":"write_once_write", "opendistro.index_state_management.policy_id":"write_once_policy"}'
With the deprecation of opendistro.index_state_management.policy_id, how can I achieve this now?