Commit Code and note Image URI

Now go to your Cloud9 Service -> Access Terminal ->

cd ecs-demo-php-simple-app
vi src/index.php -> Change b03043 to #FFFF00 -> Save and quit
git add .
git commit -s -m "Changing the background color to Yellow"
git push origin master <- May ask for uid/pwd

Example Code shown below pointing out the modified code to change background color to Yellow:

Once the code change is pushed to the github repo, it will trigger the original CodePipeline & push a new Container Image to the ECR Repo. Note down the updated ECR Repo Image URI as explained in “Create Task Definition” section.