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
288 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,550 points
0 votes

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

answered Aug 17, 2018 by Priyaj
• 57,700 points

Related Questions In DevOps on Cloud

0 votes
1 answer
0 votes
1 answer

I am looking for a python code to get my Azure VM status in my email , like whether the running vms port is open to the internet. If its open to internet I should get a mail notification

Hey, @Sourav, Check this out https://www.edureka.co/community/66025/azure-vm-monitoring It deals with ...READ MORE

answered May 29 in DevOps on Cloud by Sirajul
• 58,210 points
127 views
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,870 points
156 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
• 51,970 points
212 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, 2019 in DevOps on Cloud by rahulkathpal
• 120 points
839 views
+1 vote
1 answer
+15 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,450 points
809 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,550 points
105 views