title: Running multiple ECS tasks based on same task definition but with different environment variables
body: <p>I have a task to process large amount of data, so data is batched into lots of parts. I have written the task definition for this type of work but now I know only how to set up them manually via registering multiple task definitions for each env.</p>
  
  <p>sample where each task has its own env <strong>BATCH_ID</strong></p>
  
  <pre><code>  aws ecs register-task-definition --cli-input-json file://taskdef1.json  
    aws ecs run-task --cluster $cluster --task-definition process_data_1
  
    aws ecs register-task-definition --cli-input-json file://taskdef2.json  
    aws ecs run-task --cluster $cluster --task-definition process_data_2
  </code></pre>
  
  <p>It would be even nice to have some <strong>.manifest</strong> file of all task arns put for cluster.</p>
  
  <p>Is there someway to run multiple similar ECS tasks with different env params in more elegant way then creating enormous amount of different taskdefs files? </p>
  
  <p>Thanks for any help and suggestions</p>