Questions tagged [aws-codecommit]

AWS CodeCommit is a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories.

AWS CodeCommit is a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories. CodeCommit eliminates the need to operate your own source control system or worry about scaling its infrastructure. You can use CodeCommit to securely store anything from source code to binaries, and it works seamlessly with your existing Git tools.

569 questions
4
votes
0 answers

cannot connect to my repository in AWS Code commit

I m trying to connect to my repository in AWS code commit. However, I m keep getting: fatal: unable to access `'https://git-codecommit.eu-west-1.amazonaws.com/v1/repos//': The requested URL returned error: 403` I have followed all the…
panipsilos
  • 2,219
  • 11
  • 37
  • 53
4
votes
2 answers

error: waitpid for C:\Program Files (x86)\PuTTY\plink.exe failed: No child processes

I am trying to connect to a Codecommit server. I get the error below. Connection is from a Windows server. I do not get the error when I try will other similar machines. This was working fine at the start but developed this issue…
3
votes
1 answer

AWS CodeCommit fails to authenticate via ssh after upgrading to Ubuntu 22.04 (Jammy)

I just upgraded my desktop to Ubuntu 22.04. When I attempt to push to one of my git repos on AWS CodeCommit (using ssh) I get: $ git push origin master Unable to negotiate with 52.94.226.180 port 22: no matching host key type found. Their offer:…
Mike Slinn
  • 7,705
  • 5
  • 51
  • 85
3
votes
1 answer

How to add multiple CodeCommit source repository to CdkPipline

I am trying to create a CdkPipeline with multiple source CodeCommit repository. I followed instructions from cdkworkshop to successfully create a self-mutating pipeline with single CodeCommit repository but cannot figure out how to add more packages…
John Seong
  • 31
  • 1
3
votes
1 answer

NPM Install Failing on CodeBuild while trying to pull from private Codecommit repo

One of my repo's in codecommit is trying to pull from another of my codecommit repos. Inside the first repo's package.json there is the dependency: "dependencies": { "repo-2":…
3
votes
2 answers

How to setup automated deployment from CodeCommit to a Lambda Function?

I'm trying to "deploy" the content of a CodeCommit repository to a Lambda function (not an application). In this particular case it's a simple copy/paste from source to destination. I'm struggling to find a solution that doesn't involve setting up…
3
votes
2 answers

CodeCommit not outputing expected environment variables to CodePipeline namespace

I'm trying to setup a pipeline through the AWS web console. The whole thing runs smoothly, but I have a problem with the varaibles outputted by CodeCommit that should be available to the following actions. In the CodeCommit action configuration, the…
3
votes
1 answer

No merge commit in the commit history in Git

I merged my development branch to staging branch but I can't see the merge commit on the staging branch. What am I doing wrong? My workflow is as follows. Checkout development branch and make some changes Pull development branch Commit development…
suharsha
  • 95
  • 1
  • 3
  • 12
3
votes
1 answer

AWS CodeCommit prevent merge until successful build

I'm using an AWS Lambda function to kick off a build in AWS CodeBuild when a Pull Request is created or updated in AWS CodeComimit, which is working well. However, I'd like to be able to prevent the merging of that Pull Request in to the master…
3
votes
3 answers

How can I clone repositories in AWS CodeCommit when using AWS CodeBuild?

My CodeBuild process requires me to clone some supporting libraries from AWS CodeCommit. However, since I don't have my private key on the docker image used by AWS CodeBuild, I get permission errors trying to do the checkout: agent_1 | Host key…
Jesse Barnum
  • 6,507
  • 6
  • 40
  • 69
3
votes
2 answers

fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/lambda-pipeline-repo/': The requested URL returned error: 403

I am trying to set up My AWS code commit to my local system. I am trying to clone the repo git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/lambda-pipeline-repo when I tried to do that I get this window where I enter my IAM user…
sumanth shetty
  • 1,851
  • 5
  • 24
  • 57
3
votes
1 answer

AWS CodeCommit Permissions Errors in CodePipeline

I am attempting to follow this example of setting up an AWS Pipeline for use across multiple accounts. I have the four different accounts set up. I've followed through on each step of the process successfully. No commands are generating any errors.…
3
votes
1 answer

How to Approve a Pull Request on AWS CodeCommit?

I'm new to AWS CodeCommit. I'm trying to figure out how to approve a Pull Request on AWS CodeCommit. I know how to create and manage Approval Rules. I know how to approve a PR using CLI. But I couldn't figure out how a user can login to AWS console…
3
votes
1 answer

CodeCommit Notification does not send event to SNS

I set up Notification in CodeCommit on all events. The rule target SNS topic has a policy that allows principal *. However when I created a pull request. There is no event went through my SNS topic. I have a email subscription to the topic. What…
Shawn
  • 5,130
  • 13
  • 66
  • 109
3
votes
2 answers

AWS trigger a Pipeline on ECR push action?

An AWS CodePipeline can be triggered on a commit action to AWS CodeCommit. I do not see an option/way to trigger an AWS CodePipeline on a push action to AWS ECR. Is there a such option?