I am trying to build a Pipeline for our CICD process using AWS CodePipeline. I click on "Create Pipeline", provide a name and use the defaults for the first panel. On the next panel, on selecting "BitBucket(beta)" as the source provider, I get the following access exception:
AccessDeniedException: User: arn:aws:iam::280945876345:user/Roger is not authorized to perform: codestar-connections:ListConnections on resource: arn:aws:codestar-connections:us-west-2:280945876345:*
I went through the documentation and provided full access to CodePipeline, CodeDeploy, CodeStar, CodeBuildAdmin, CloudFormation, AmazonS3, AmazonECS, AWSCodeCommit to the IAM user. I dont find any policies related to codestar-connections:* that I could add. I understand the CodePipeline-BitBucket integration is in Beta phase, but just wanted to check if anyone else had encountered this issue and resolved it.
codestar-connections:*
to the Roger role. – Marcin