Hahaha that would be funny to see… No I don’t think you can and I don’t recommend codepipeline for real world pipelining… Use it for small use cases like deploying an image from ECR to ECS or something.
You could bootstrap that by doing a manual deploy of a Cloudformation template that defines a CodePipeline for managing your Code* configurations from a more complicated Cloudformation template.
While CodePipeline isn’t the most featureful tool, if it’s the right tool for your job then there’s no real reason not to use it.
I don’t know if I got your question but you can configure the CodePipeline with Cloudformation.
The Pipeline start when you make a commit to a Repo in GitHub or Use their own CodeCommit to track commits. This really depends on how.you configure the CodePipeline.
When you make a commit your pipeline definition will start running and will go through each stage that you have defined.
My question pertains to the pipeline definition itself. You mention
you can configure the CodePipeline with Cloudformation
but what runs the cloudformation template? If I want to make a change to the pipeline template, how to I keep the actual pipeline up to date without manually running cfn?
You can use the same self managing pattern as cloudformation after the first initial setup. The main benefit is not having to use cloudformation.
Alternatively, just keep the pipeline state in git and manually run applies after merges to master.
It’s the same pattern as any git based ci/cd, you just have to do a bunch of implementation you’d get for free with circleci or github actions, but you don’t have to use IAM users.