The following information outlines tasks that I've completed for Week 9 of the BootCamp.
The objective is to automate code deployment whenever a pull request is made on the repo.
Created a Buildspec.yml file. Ref
- Launched CodeBuild
Note: Encountered a "GetAuthorizationToken" error which wasn't observed in the video. I overcame it with some research and added those permissions to our CodeBuild Role which resolved the error.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ecr:BatchCheckLayerAvailability",
"ecr:CompleteLayerUpload",
"ecr:GetAuthorizationToken",
"ecr:InitiateLayerUpload",
"ecr:PutImage",
"ecr:UploadLayerPart",
"ecr:BatchGetImage",
"ecr:GetDownloadUrlForLayer"
],
"Resource": "*"
}
]
}
CodePipeline
CodePipeline Expanded