Create the template in ES whenever index_aws is called.