July 2017
Intermediate to advanced
402 pages
9h 38m
English
ECS changes are driven by the task definition present in our helloworld-ecs-service-cf.template file. So far, we 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 http://bit.ly/2uB5wQn | python > templates/helloworld-ecs-service-cf.template$ git add templates$ git commit -m "Adding CloudFormation template for the helloworld task"$ git push
Now that our template is present in our source, we can create our CloudFormation template for our pipeline.
Read now
Unlock full access