Anyone had trouble setting up PE with AWS Code Commit

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

Matt.Baylis gravatar image

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

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 https://git-codecommit.ap-southeast-2.amazonaws.com/v1/repos/control-repo.git /opt/puppetlabs/server/data/code-manager/git/https---git-codecommit.ap-southeast-2.amazonaws.com-v1-repos-control-repo.git
Stderr:
Cloning into bare repository '/opt/puppetlabs/server/data/code-manager/git/https---git-codecommit.ap-southeast-2.amazonaws.com-v1-repos-control-repo.git'...
fatal: unable to access 'https://git-codecommit.ap-southeast-2.amazonaws.com/v1/repos/control-repo.git/': The requested URL returned error: 403
Exit code: 128

can anyone help me with this?

edit retag flag offensive close merge delete

Comments

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 -0500 )edit