title: How to provide argument to a task (container) on its launch on Amazon ECS using AWS Fargate
body: <p>Here is an example, where I can run (locally) multiple instances of a docker image with <em>different arguments</em> to the <code>echo</code> command and to <code>AUTHOR</code> environment variable.</p>
  
  <pre><code>NAME=Peter
  docker run alpine echo "Hello $NAME"
  docker run --name static-site -e AUTHOR="$NAME" -d -P dockersamples/static-site
  </code></pre>
  
  <p>Here I can programmatically change the value of <code>$NAME</code> and run the containers.</p>
  
  <p>I want the same flexibility while I try to run those containers on <strong>Amazon ECS using AWS Fargate</strong> launch type. Alas, I am unable to figure out how can I programmatically provide different values to <code>$NAME</code> variable.</p>