
Answer-first summary for fast verification
Answer: Missing IAM permissions for the CodeBuild Service
Overall explanation Correct option: Missing IAM permissions for the CodeBuild Service By default, IAM users don't have permission to create or modify Amazon Elastic Container Registry (Amazon ECR) resources or perform tasks using the Amazon ECR API. A user who uses the AWS CodeBuild console must have a minimum set of permissions that allows the user to describe other AWS resources for the AWS account.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your team lead has recently completed setting up an AWS CodeBuild project using the management console, and a build specification (buildspec) file has been detailed for the project. After initiating the build process, it is observed that CodeBuild is unable to pull a Docker image into the build environment.
What is the most probable reason for this issue?
A
The Docker image is missing some tags
B
Missing IAM permissions for the CodeBuild Service
C
The Docker image is too big
D
CodeBuild cannot work with custom Docker images