首页 > 解决方案 > 如何为 AWS Codepipeline 选择区域?

问题描述

我正在使用 AWS Codecommit 存储库和 S3 存储桶配置 AWS Codepipeline。我在创建我的 Codepipeline 时遇到了麻烦并收到以下错误:

An error occurred while validating the artifact bucket 'artifact-bucket-name': The bucket named artifact-bucket-name is not located in the us-east-1 AWS region. Choose a valid artifact bucket in 'us-east-1', or create a new artifact bucket to use in your pipeline.

我的问题是如何将我正在创建的管道的区域更改为 US-West-2?我没有看到这样做的任何选择。

标签: amazon-web-servicesaws-codepipeline

解决方案


AWS CodePipeline (CP) 将在您当前使用的区域中创建。没有仅针对 CP 的特殊区域选择。

因此,在创建 CP 之前,请确保将 AWS 控制台更改为您需要的区域:

在此处输入图像描述


推荐阅读