Technical requirements
Just like previous chapters, the source code for this chapter can be found in the following GitHub directory: https://github.com/PacktPublishing/AWS-CDK-in-Practice/tree/main/chapter-5-continuous-integration-with-cdk-powered-apps.
The Code in Action video for this chapter can be viewed at: https://packt.link/vd91G.
GitHub personal access token
CodePipeline is a CI/CD tool that needs to get the latest changes from the code repository. AWS has its own GitHub repository hosting platform named CodeCommit, which we would use in the blink of an eye had we not found the UI to be eye-wateringly horrendous (there goes our AWS partnership status), since like everything else, the integration with CodePipeline is a breeze.
For now, it’s cool to stick to GitHub and we need to figure out a way for CodePipeline to access the GitHub repo and be informed of changes. Thankfully, CodePipeline does most of that for us with a Source step. This Source step needs...