Anyone had trouble setting up PE with AWS Code Commit [closed]

asked 2018-07-12 20:09:20 -0600

ThatGuyAUS gravatar image

updated 2018-07-13 11:59:36 -0600

DarylW gravatar image

Has anyone had had issues setting up a hosted PE server with OpsWorks and AWS cloud commit.

I don't know how many times I've tried deleting repo's, changing git clients, uninstalling, reinstalling, but can't seem to get anything working :'(

this is starting to drive me nuts. I've got all the right permissions, but seems nothing is working.

I've setup my repo with all the correct file structure, yet nothing working. In my error when I run:

puppet-code deploy --all --wait --config-file .config/puppet-code.conf

Deploying all environments.
Errors while collecting a list of environments to deploy (exit code: 1).
ERROR    -> Unable to determine current branches for Git source 'puppet' (/etc/puppetlabs/code-staging/environments)
Original exception:
Command exited with non-zero exit code:
Command: git clone --mirror /opt/puppetlabs/server/data/code-manager/git/
Cloning into bare repository '/opt/puppetlabs/server/data/code-manager/git/'...
fatal: unable to access '': The requested URL returned error: 403
Exit code: 128

can anyone help me with this?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ThatGuyAUS
close date 2018-07-26 01:02:23.824228


I haven't ever done anything with CodeCommit, but do you have all the appropriate IAM roles for accessing your codecommit repo on the instance?

DarylW gravatar imageDarylW ( 2018-07-13 12:00:45 -0600 )edit