In this section, we will be setting up the AWS CodeCommit repository to store the application source code along with the AppSpec.yml file. You can refer to Chapter 1, Using AWS CodeCommit, to create the AWS CodeCommit repository and migrate a GitHub repository to AWS CodeCommit.
To set up a CodeCommit repository for our pipeline, we first need to carry out the following steps:
- Create an IAM user and attach the CodeCommit PowerUserAccess Policy.
- Retrieve the HTTP-based Git username and password for pushing or pulling the code from the CodeCommit repository.
- Clone the sample application from GitHub (https://github.com/awsstar/GIT-AWSSTAR-APP.git)
- Create a CodeCommit repository and migrate...