Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS codebuild - does disconnecting from Github in single build project remove from all projects

I have multiple Codebuild projects in an AWS account (which were created by others), with private Github repos as the source, connected via oauth.

I'm creating a new Codebuild project, also looking at a private github repo, however Codebuild fails to create since it "can't access the github repo".

I imagine that whoever in the account originally connected to Github, they don't have access to my the repo I'm trying to connect to.

I'd like to click the "disconnect from Github" and re-authorize, since I have access to the repo I'm trying to connect to, but I'm concerned that will disconnect all Codebuild projects.

I know that my Github credentials don't permit access to all repos that Codebuild projects are currently reading from.

When a connection to Github is made via oauth, does that set it for the entire account?

like image 435
maafk Avatar asked May 29 '26 00:05

maafk


1 Answers

When a connection to Github is made via oauth, does that set it for the entire account?

Yes it will reset the token for all your CodeBuild projects in that AWS account Id. CodeBuild only supports one token (OAuth or personal access token) per AWS account Id.

We are aware of the limitation this causes on end users and will make this experience better in a future release.

like image 168
Subin Mathew Avatar answered May 30 '26 15:05

Subin Mathew



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!