Changing the number of shards and index frequency of an existing index

Hello, Thank you but we can't see the elasticsearch.yml because we are using the Amazon Elasticsearch. So we preferred using the curl command in setting and changing the shards. My problem was I've set the shards count into 1 and it doesn't apply to all indices from template1 using this curl command:

curl -XPUT 'local-host/_template/template1' -H 'Content-Type: application/json' -d'
{
    "template" : "template1-*",
    "settings" : {
        "index" : {
            "number_of_shards" : 1, 
            "number_of_replicas" : 1
        }
    }
}' 

This is my reference:

We have rolling index. The scenario was the shards for index template1-2018.02.27 was already set in to 1 because I've used the curl command above. The next day for the index template1-2018.02.28 it was back again to default size (5) of shards. I need to automate applying settings of 1 shards to all new indices whose name matches the template1.

Any thoughts/help? Thank you.