Skip to content

Commit 141a32e

Browse files
authored
Merge pull request awsdocs#28 from mattbryce93/master
Added: resolution for Codebuild using different ECR region
2 parents f068793 + c5db71c commit 141a32e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc_source/troubleshooting.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,12 @@ If you specify a `runtime-versions` section and use an image other than Ubuntu S
220220
**Possible causes:**
221221
+ The build image's overall uncompressed size is larger than the build environment compute type's available disk space\. To check your build image's size, use Docker to run the `docker images REPOSITORY:TAG` command\. For a list of available disk space by compute type, see [Build Environment Compute Types](build-env-ref-compute-types.md)\.
222222
+ AWS CodeBuild does not have permission to pull the build image from your Amazon Elastic Container Registry \(Amazon ECR\)\.
223+
+ The Amazon ECR image you requested is not in the region that your AWS account is currently using\.
223224
224225
**Recommended solutions:**
225226
+ Use a larger compute type with more available disk space, or reduce the size of your custom build image\.
226227
+ Update the permissions in your repository in Amazon ECR so that CodeBuild can pull your custom build image into the build environment\. For more information, see the [Amazon ECR Sample](sample-ecr.md)\.
228+
+ Use an Amazon ECR image that is in the same region that your AWS account is currently using\.
227229
228230
## Builds Might Fail When File Names Have Non\-U\.S\. English Characters<a name="troubleshooting-utf-8"></a>
229231
@@ -419,4 +421,4 @@ We recommend that you use **Insecure SSL** for testing only\. It should not be u
419421
+ `10.0.0.3`: Reserved by AWS for future use\.
420422
+ `10.0.0.255`: Network broadcast address\. We do not support broadcast in a VPC, therefore we reserve this address\.
421423
422-
**Recommended solutions:** Check if your VPC uses a reserved IP address\. Replace any reserved IP address with an IP address that is not reserved\. For more information, see [VPC and Subnet Sizing](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#VPC_Sizing)\.
424+
**Recommended solutions:** Check if your VPC uses a reserved IP address\. Replace any reserved IP address with an IP address that is not reserved\. For more information, see [VPC and Subnet Sizing](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#VPC_Sizing)\.

0 commit comments

Comments
 (0)