From the course: Deploying Your AWS Application to the Cloud with Docker
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Setting CodeBuild permissions - Amazon Web Services (AWS) Tutorial
From the course: Deploying Your AWS Application to the Cloud with Docker
Setting CodeBuild permissions
- Now that we understand the reason for our failure, lets go to IAM and see if we can fix. Type IAM, ill go to roles. this is the one we created when we created our project. Codebuild, demowebappbuild-service-roll. I click on it, now, the issue here is that it was trying to log into ECR and it could not do it I am going to click on attached policies and I'll type registry here. we get three results, Full Access, Power User and Read Only. we're going to choose power user. this is going to allow, codebuild to access, our container registry as a power user. I'll attach this policy to enroll, and this should do it. If we get an error, could be related to something else. This should fix the login command issue. Let's go back to CodePipeline. And the only way to find out is to, click on it, and release change. This is going to simulate that the code change and it's time to run the cicd pipeline…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Building your ECR Docker image repository59s
-
(Locked)
Reviewing your project's Dockerfile2m 29s
-
(Locked)
CodeBuild buildspec file1m 43s
-
(Locked)
Creating a CI/CD pipeline for your CodeBuild project5m 29s
-
(Locked)
Setting CodeBuild permissions2m 40s
-
(Locked)
Challenge: CodeBuild external resources37s
-
(Locked)
Solution: Pulling external resources into CodeBuild1m 59s
-
(Locked)
-
-
-