Print
카테고리: [ Amazon Web Services ]
조회수: 3405

1. 개요

CodeCommit 시작


2. 과정

2-1. PC에 git 설치

http://gitforwindows.org/

2-2. IAM 계정 권한

2-3. PC에 AWS CLI 설치

https://docs.aws.amazon.com/ko_kr/cli/latest/userguide/awscli-install-windows.html

2-4. PC에서 aws configure

IAM 계정 연결

2-5. PC에서 git config 실행

다음 커맨드를 실행한다.

git config --global credential.helper "!aws codecommit credential-helper $@"
git config --global credential.UseHttpPath true

그러면 .gitconfig 파일이 생성되고 그 내용은 다음과 같다.

[credential]    
    helper = !aws codecommit credential-helper $@ 
    UseHttpPath = true

2-6. 이클립스에 AWS Toolkit 설치

https://docs.aws.amazon.com/ko_kr/toolkit-for-eclipse/v1/user-guide/setup-install.html


3. 문제 해결

can't connect to uri .. 에러 발생하면 AWSCodeCommitFullAccess 권한을 다시 한번 확인해 본다.