ECS changes are driven by the task definition present in our helloworld-ecs-service- cf.template file. So far we have only stored our Python script in GitHub. We will have to make a special case for that template and store the JSON output of it so that CodePipeline can interact with our stack. We will add this file to our Git repository in a new directory as follows:
$ cd helloworld$ mkdir templates$ curl -L https://raw.githubusercontent.com/yogeshraheja/EffectiveDevOpsTemplates/master/helloworld-ecs-service-cf-template.py | python > templates/helloworld-ecs-service-cf.template$ git add templates$ git commit -m "Adding CloudFormation template for the helloworld task"$ git push
Now that ...