언어 바꾸기English
이전 목록

AWS CodeBuild의 오해하기 쉬운 "User is not authorized to access connection" 오류와 IAM 정책이 정상으로 보이는 이유

The Misleading "User is not authorized to access connection" Error in AWS CodeBuild — and Why Your IAM Policy Looks Fine

TL;DR AI

핵심 요약

2분
  1. AWS CodeBuild의 “User is not authorized to access connection” 오류는 보통 사람 호출자가 아니라 프로젝트 서비스 역할을 가리킵니다.

  2. 가장 흔한 해결책은 서비스 역할에 CodeConnections `GetConnectionToken` 권한을 부여하는 것입니다.

  3. 또 다른 원인은 `ListConnections`나 `ListInstallationTargets` 같은 CodeConnections 목록 작업을 연결 ARN에 묶고 `*`로 두지 않는 설정입니다.

  4. 이 두 가지 권한 실수는 모두 같은 오해를 부르는 인증 실패로 나타나, 빌드 설정과 디버깅을 지연시킬 수 있습니다.

원문 보기