【发布时间】:2019-02-07 04:02:39
【问题描述】:
我正在帐户 00000000000 中配置 CodePipeline。
我想部署一个 CloudFormation 堆栈
- 通过 CodePipeline 执行 CloudFromation 模板
- 但不在帐户 123456789123 中,也不在 00000000000 中
问题
如何配置“部署”类型的 CodePipeline 操作来执行此操作?
特别是如何将其指向帐户 123456789123 ?
到目前为止我做了什么
我假设它通过角色工作。123456789123。
我在账户 123456789123 中创建了一个 IAM 角色,
信任帐户 00000000000,
信任服务 cloudformation。
我把它命名为arn:aws:iam::123456789123:role/CFDep
下面是我的 CodePipeline-Action 的配置。
我收到错误The role name is invalid. Check that the specified role exists and can be assumed by AWS CloudFormation. 为什么?
【问题讨论】:
标签: amazon-cloudformation aws-codepipeline