title: Manage replicas of ISM indices with templates
body: <p>I have a standalone instance with Opensearch for testing purposes, I want to keep it light and clean so I'm using ISM to delete indices older than x days.</p>
  <p>What I noticed is that by default Opensearch generates a management index (&quot;.opensearch-ism-config&quot;) with replica &quot;1&quot;.</p>
  <p>Since I'm using a standalone instance (it is just testing, I'm not worried with redundancy, HA or anything like that) and want to keep my cluster with green status, I have decided that I want those indices to have replica &quot;0&quot;.</p>
  <p>In order to achieve that, I have created a template in which I set replica &quot;0&quot; for these indices:</p>
  <pre><code>{
    &quot;order&quot; : 100,
    &quot;version&quot; : 1,
    &quot;index_patterns&quot; : [&quot;.opensearch-ism-*&quot;],
    &quot;settings&quot; : {
      &quot;index&quot;: {
        &quot;number_of_shards&quot; : &quot;1&quot;,
        &quot;number_of_replicas&quot;: 0
      }
    }
  }
  </code></pre>
  <p>After a PUT, I start using ISM so that the management ISM index is created after this template is on Opensearch node.</p>
  <p>What I observe is that all management indices from ISM are generated with replica &quot;1&quot;, therefore ignoring the template.</p>
  <p>I can set replica to &quot;0&quot; by updating index settings after creation but this is not the ideal scenario as ISM index rotate and new ones are generated from time to time.</p>
  <p>Is there any way to have ISM indices applying replica &quot;0&quot; automatically ?</p>