简体   繁体   English

在AWS Codepipeline中,如何分配适当的角色名称以允许通过CloudFormation进行堆栈部署?

[英]In AWS Codepipeline, how do I assign a proper role name to allow a stack deployment via CloudFormation?

So, I am creating a pipeline and when I go to add a deploy stage to create a stack with CloudFormation, I get this error when I try to attach a role name: 因此,我正在创建一个管道,当我添加一个部署阶段以使用CloudFormation创建堆栈时,尝试附加角色名称时会出现此错误:

"The role name is invalid. Check that the specified role exists and can be assumed by AWS CloudFormation." “角色名称无效。请检查指定的角色是否存在,并且可以由AWS CloudFormation承担。”

The role exists, and I have gone into "Trust Relationship" and made CodePipeline a trusted entity. 该角色存在,并且我进入了“信任关系”并使CodePipeline成为受信任的实体。 I am using the ARN as the role name. 我正在使用ARN作为角色名称。 Any help would be much appreciated. 任何帮助将非常感激。 Thanks! 谢谢!

在“信任关系”中,实际上是CloudFormation需要成为受信任的实体,而不是CodePipeline。

暂无
暂无

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

相关问题 将参数添加到 AWS CloudFormation / CodePipeline 堆栈 - Add parameter to an AWS CloudFormation / CodePipeline stack 如何允许 IAM 角色通过 cloudformation 承担另一个 IAM 角色? - how to allow IAM role to assume another IAM role, via cloudformation? AWS CodePipeline - 部署到 Elastic Beanstalk 耗时 18 小时。 如何取消? - AWS CodePipeline - Deployment to Elastic Beanstalk has taken 18 hours. How do I cancel it? 如何允许 AWS CodeBuild 修改 CloudFormation 模板中的指定角色? - How to allow AWS CodeBuild to modify specified role in CloudFormation template? 如何打印具有以下内容的AWS实例列表:1)实例名称2)实例大小3)aws:cloudformation:stack-name? - How can I print a list of AWS instances with: 1) Instance name 2) Instance size 3) aws:cloudformation:stack-name? AWS CloudFormation CodePipeline、ParameterOverrides、将列表传递给嵌套堆栈 - AWS CloudFormation CodePipeline, ParameterOverrides, pass list to a nested stack 如果我通过 CloudFormation 部署 AWS,有什么方法可以阻止 AWS 自动启动 CodePipeline? - Is there any way to stop AWS from starting CodePipeline automatically if I deploy it via CloudFormation? 使用 CDK 时,如何使 CloudFormation / CodePipeline 更新域名以指向 S3 存储桶? - How do I make my CloudFormation / CodePipeline update a domain name to point to an S3 bucket when using CDK? CloudFormation 堆栈类型:“AWS::IAM::Role” - CloudFormation Stack Type: 'AWS::IAM::Role' 通过 CloudFormation 将 AWS CodePipeline 操作添加到现有管道 - Add AWS CodePipeline action to existing pipeline via CloudFormation
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM