title: New version of task definition in ECS Fargate
body: <p>I have a ECS cluster running.I want to create a new version of task definition using awscli.</p>
  
  <p>I know i need to use below command to create new version.</p>
  
  <pre><code>aws ecs register-task-definition  --family API-servie-fetch --cli-input-json file://TD-DC.json
  </code></pre>
  
  <p>But i am not getting from where to get this JSON file "file://TD-DC.json" ?
  I belive i have to  update image tag and version number in this file but from where i can get this file ?</p>
  
  <p>Note:- My task is already running and i only want to update it with new image rest all parameters should be same.</p>