aws / aws-codedeploy-agent

Host Agent for AWS CodeDeploy
https://aws.amazon.com/codedeploy
Apache License 2.0
329 stars 187 forks source link

agent doesn't find github repository #97

Closed makkaba closed 7 years ago

makkaba commented 7 years ago

deploy was successful when i use private repository. but, when i move repository into organization, deploy fails with an error "Not found" on Bundle Download stage.

i put this down (organization/reponame) when i try deploy. is there another expression for organization address?

i tried other private repository, it works fine. and all deploy through S3 bucket works well.

makkaba commented 7 years ago

i figured it out. github "organization" blocks 3rd party access to all repositories which belong to this organization by default. because of this, codedeploy-agent generates a message "Not Found". (even though i think "Access denied" is better message.. it is just github side problem..so ) so you need to turn off this restriction on settings! :) i think it would be better if you warn this situation on AWS guide. (sorry for bad english.)

bmschwa commented 7 years ago

Thanks a lot for the post. the AWS documentation, but this would be a good thing for them to put in bold (I missed it too)