CODEARTIFACT SETUP

STEP 1 : SECURE PACKAGES WITH CODEARTIFACT

Definitions:

AWS CodeArtifact: It is an artifact repository , where you store all of the app’s packages in one place. An important part of CI/CD pipeline as it makes the engineering team make sure that they are using the same ,verified versions of packages when building and deploying the app.

STEP 2: Create an IAM Policy for CodeArtifact Access

For PyPI to work with CodeArtifact , an IAM role is to be created to grant the EC2 instance the permission to access CodeArtifact.

If an IAM role is not created :