简体   繁体   English

来自 Github 的 AWS CodePipeline 失败

[英]AWS CodePipeline from Github fails

I am getting the following error on the source stage of my code pipeline:我在代码管道的源阶段收到以下错误:

I feel like I know this means my access token doesn't have access to s3 service, but I do I have created buckets and even ran CLI against it using my access key.我觉得我知道这意味着我的访问令牌无法访问 s3 服务,但我确实创建了存储桶,甚至使用我的访问密钥对其运行了 CLI。

Any tips?有小费吗?

在此处输入图片说明

Action execution failed GitHub Upload to S3 failed with the following error: The AWS Access Key Id needs a subscription for the service (Service: Amazon S3; Status Code: 400; Error Code: KMS.SubscriptionRequiredException; Request ID: NWPB863XQQJV86T2; S3 Extended Request ID: XC5qnepPTZxI0mzF6K3epFPIXpYn+iJiivZqSRjeZ4hR7yVZRAKJT0laFpGZ4twOZYOrusfaZBc=; Proxy: null) (Service: null; Status Code: 0; Error Code: null; Request ID: null; S3 Extended Request ID: null; Proxy: null)操作执行失败 GitHub 上传到 S3 失败,并出现以下错误:AWS 访问密钥 ID 需要订阅该服务(服务:Amazon S3;状态代码:400;错误代码:KMS.SubscriptionRequiredException;请求 ID:NWPB863XQQJV86T2;S3 扩展请求ID:XC5qnepPTZxI0mzF6K3epFPIXpYn+iJiivZqSRjeZ4hR7yVZRAKJT0laFpGZ4twOZYOrusfaZBc=;代理:null)(服务:null;状态代码:0;错误代码:null;请求ID:null;S3扩展代理请求ID:null)

There are a lot of steps to build a CI/CD that works.构建一个有效的 CI/CD 有很多步骤。 You have to make sure that you follow each step and all the config settings.您必须确保遵循每个步骤和所有配置设置。 The best advice is to follow theses AWS tutorials step by step.最好的建议是逐步遵循这些 AWS 教程。 I followed these a few weeks ago and they work.几周前我关注了这些,它们起作用了。

Tutorial: Create a simple pipeline (S3 bucket) 教程:创建一个简单的管道(S3 存储桶)

Tutorial: Create a simple pipeline (CodeCommit repository) 教程:创建一个简单的管道(CodeCommit 存储库)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM