2
votes

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:

"The role name is invalid. Check that the specified role exists and can be assumed by AWS CloudFormation."

The role exists, and I have gone into "Trust Relationship" and made CodePipeline a trusted entity. I am using the ARN as the role name. Any help would be much appreciated. Thanks!

1

1 Answers

6
votes

In the "Trust Relationship" it is actually CloudFormation that needs to be the trusted entity, not CodePipeline.