how am I gonna assign a proper role name to allow a stack deployment via CloudFormation in AWS codepipeline?

0 votes

I am trying to create a pipeline and when I am adding a deploy stage to create a stack with CloudFormation, I am getting this error when I am trying 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.

Can anyone help me with this?

Thanks.

Jun 5, 2018 in DevOps on Cloud by Atul
• 10,240 points
114 views

2 answers to this question.

0 votes

Actually it's a very simple logic. CloudFormation is the one that needs to be the trusted entity in "TRUST RELATIONSHIP" and not Code Pipeline. I hope that the above information will be helpful to you.

answered Jun 5, 2018 by Damon Salvatore
• 5,510 points
0 votes

 There's documentation on how to configure a CloudFormation role here

answered Aug 17, 2018 by Priyaj
• 56,520 points

Related Questions In DevOps on Cloud

0 votes
1 answer
0 votes
1 answer

Is it possible to open a bug in VSTS if release deployment fails?

You can do this by adding another ...READ MORE

answered Apr 24, 2018 in DevOps on Cloud by DareDev
• 6,810 points
62 views
0 votes
1 answer

Can i include custom data in a AWS cloudwatch alarm

You would have routied the alert event ...READ MORE

answered Aug 2, 2018 in DevOps on Cloud by Kalgi
• 40,420 points
42 views
+2 votes
2 answers
+2 votes
3 answers

How do I deploy Scala PlayFramework Project to IBM Bluemix

It seems that they are more than ...READ MORE

answered Oct 18, 2018 in DevOps on Cloud by lina
• 8,110 points
114 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
145 views
0 votes
1 answer

How do I include custom data in a AWS Cloudwatch Alert?

Since the web service uses the "event ...READ MORE

answered Aug 20, 2018 in DevOps on Cloud by Damon Salvatore
• 5,510 points
42 views