I extended this aws example, which covers the creation of a codedeploy pipeline with cloudformation. There are some prerequisites which you have to create in a previous tutorial and they explain it only in combination with AWS console.
I thought it might be helpful to have the full example with all prerequisites written in cloudformation. Maybe you find it helpful:
Awesome! CodePipeline is one of the gnarliest services when it comes to trying to get its deployment automated in order to automate the deployment of the actual application. How meta…
And I’ve found AWS’ examples for it are…less than comprehensive. Things are broken up into different examples.