Repository Clone Failed error in VS2017

0

Hi,

I'm trying to Create a new repository via AWS CodeCommit in Visual Studio (2017 Community Edition).

The user has been set up with "AWSCodeCommitPowerUser" and "IAMSelfManageServiceSpecificCredentials" credentials.

When I click on "Create", I'm presented with the "Create a New AWS CodeCommit Repository" dialog box. After entering a suitable name, I click on "OK" and I then receive the following message:

Failed to clone repository
https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/myreponame. Error message: Git failed with fatal error.
unable to access
'https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/myreponame/': The requested URL returned error: 403

Can anyone point me in the right direction?

Thanks James

asked 6 years ago599 views
1 Answer
0

Hello,

Do you create Git credentials in toolkit? If toolkit cannot create Git credentials on your behalf, or if you do not want toolkit to create Git credentials, you must create and provide your own Git credentials following this documentation https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html.

This is the documentation of Clone an AWS CodeCommit Repository and Create a Repository from Visual Studio. https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-ide-vs.html#setting-up-ide-vs-connect

answered 6 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions