git repo를 AWS CodeCommit으로 마이그레이션

git repo를 AWS CodeCommit으로 마이그레이션

나는 단계를 따랐다여기그리고 여기.

아래 명령을 실행하면 다음과 같은 결과가 나타납니다.

git config --global --edit설정 가이드의 줄이 포함된 편집 파일을 표시합니다.

aws configure내가 기대하는 대로 키의 끝부분을 보여줍니다.

그러나 다음과 같은 오류가 발생합니다.

C:\Path\to\repo>git push https://git-codecommit.us-east-1.amazonaws.com/v1/repos/myRepo --all
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/myRepo/': The requested URL returned error: 403

C:\Path\to\repo>git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/myRepo myRepo
Cloning into 'myRepo'...
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/myRepo/': The requested URL returned error: 403

편집: 사용자를 생성하고 전체 액세스(?) AWSCodeCommit 정책(AWSCodeCommitPowerUse 및 AWSCodeCommitFullAccess)이 모두 있는 그룹에 사용자를 할당했다는 점을 추가해야 합니다. 이 사용자에 대한 액세스 키를 만들었고 자격 증명 도우미에도 입력되었습니다.

내가 무엇을 놓치고 있나요?

관련 정보