We have a local Jenkins server that has access to our local bitbucket server. The goal is to achieve that Jenkins grabs code from that bitbucket server, and pushes it to AWS.

I am trying to follow this tutorial: https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-four-stage-pipeline.html

I need to create a role for a service account (to be used by my local Jenkins server), quoting the above link:

Sign in to the AWS Management Console and open the IAM console at > https://console.aws.amazon.com/iam/.

In the IAM console, in the navigation pane, choose Roles, and then choose Create new role.

On the Select role type page, with AWS Service Role selected, next to Amazon EC2, choose Select.

On the Attach Policy page, select the AWSCodePipelineCustomActionAccess managed policy, and then choose Next Step.

Which of the options do I pick for "Choose the service that will use this role" in the create role screen?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.