Programing/기타

codedeploy 에러 Could not download bundle at 'https://api.github.com/repos/***/***/tarball/***' after 3 retries. Server returned codes: 404 'Not Found'; 404 'Not Found'; 404 'Not Found'; 404 'Not Found'.

딩코딩 2023. 7. 3. 12:52

aws codedeploy 실패가 떠서 View events를 눌러 들어가보았고

 

아래와 같은 실패를 확인할 수 있었다.

 

UnknownErroor를 클릭하면 다음과 같은 에러메시지를 볼 수 있다.

Could not download bundle at 'https://api.github.com/repos/***/***/tarball/***' after 3 retries. Server returned codes: 404 'Not Found'; 404 'Not Found'; 404 'Not Found'; 404 'Not Found'.

 

권한 문제로 private리포지토리에 접근할 수 없으면 발생한다.

 

 

codeDeploy > 애플리케이션 > 내가만든배포그룹 들어가서 

배포생성 누른 뒤 아래 사진처럼 적절한 값을 채워넣고

 

권한이 있는 깃 계정으로 로그인, 리포지토리이름 커밋ID, 콘텐츠 덮어쓰기 체크

 

이후 배포하면 정상적으로 성공이 뜬다