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
869 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,980 points
0 votes

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

answered Aug 17, 2018 by Priyaj
• 58,090 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, 2020 in DevOps on Cloud by Sirajul
• 59,230 points
1,414 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,890 points
476 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
• 52,360 points
670 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
1,889 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,458 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 21, 2018 in DevOps on Cloud by Damon Salvatore
• 5,980 points
489 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP