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
126 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,900 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
67 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
• 41,660 points
49 views
0 votes
0 answers

How to mount the S3 bucket using IAM role or S3fs and use in ElasticBeanstalk

Hi Team, Can you please confirm how we ...READ MORE

Sep 20 in DevOps on Cloud by rahulkathpal
• 120 points
37 views
+2 votes
2 answers
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
181 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
45 views